annotate tepid-discover.xml @ 3:370c325b5941 draft

planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
author mvdbeek
date Fri, 06 Jan 2017 08:06:16 -0500
parents 4a028613cfae
children df634cd04be7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
1 <tool id="tepid_discover" name="tepid-discover" version="@WRAPPER_VERSION@">
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
2 <description>discover TE variants</description>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
3 <macros>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
4 <import>macros.xml</import>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
5 </macros>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
6 <expand macro="requirements"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
7 <version_command>tepid-discover --version</version_command>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
9 @LINK_CONC@
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
10 tepid-discover
1
cea423bd0cd2 planemo upload for repository https://github.com/ListerLab/TEPID commit 40ee682fc4468bcdcc77f79a3bd098dc7f0019a7-dirty
mvdbeek
parents: 0
diff changeset
11 -n '$split_bam.element_identifier'
0
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
12 $deletions
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
13 $insertions
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
14 $strict
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
15 #if $mask:
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
16 --mask '$mask'
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
17 #end if
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
18 #if $discordant_bam:
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
19 --discordant '$discordant_bam'
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
20 #end if
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
21 @PROC@
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
22 @NAME@
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
23 -c conc.bam
2
4a028613cfae planemo upload for repository https://github.com/ListerLab/TEPID commit 40ee682fc4468bcdcc77f79a3bd098dc7f0019a7-dirty
mvdbeek
parents: 1
diff changeset
24 -s '$split_bam'
0
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
25 -t '$te_annotation_bed'
1
cea423bd0cd2 planemo upload for repository https://github.com/ListerLab/TEPID commit 40ee682fc4468bcdcc77f79a3bd098dc7f0019a7-dirty
mvdbeek
parents: 0
diff changeset
26 -k
0
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
27 $se_mode && ## The follwing is terrible, but from_work_dir cannot deal with variables
3
370c325b5941 planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
mvdbeek
parents: 2
diff changeset
28 #if not str($deletions)=="--deletions":
370c325b5941 planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
mvdbeek
parents: 2
diff changeset
29 mv insertions_'$bowtie2_bam.element_identifier'.bed '$insertions_out' &&
370c325b5941 planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
mvdbeek
parents: 2
diff changeset
30 mv insertion_reads_'$bowtie2_bam.element_identifier'.txt '$insertion_reads_out' &&
370c325b5941 planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
mvdbeek
parents: 2
diff changeset
31 #end if
370c325b5941 planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
mvdbeek
parents: 2
diff changeset
32 #if not str($insertions)=="--insertions":
370c325b5941 planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
mvdbeek
parents: 2
diff changeset
33 mv deletions_'$bowtie2_bam.element_identifier'.bed '$deletions_out' &&
370c325b5941 planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
mvdbeek
parents: 2
diff changeset
34 mv deletion_reads_'$bowtie2_bam.element_identifier'.txt '$deletion_reads_out' &&
370c325b5941 planemo upload for repository https://github.com/ListerLab/TEPID commit 48d24b91382cfbe7749d131657efbad47a28f569-dirty
mvdbeek
parents: 2
diff changeset
35 #end if
0
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
36 cat tepid_discover_log_'$bowtie2_bam.element_identifier'.txt
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
37 ]]></command>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
38 <inputs>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
39 <param name="bowtie2_bam" label="Alignment file (Bowtie2)" argument="--conc" type="data" format="bam"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
40 <param name="discordant_bam" label="Alignment file with discordant pairs" argument="--discordant" optional="true" type="data" format="bam"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
41 <param name="split_bam" label="Alignment file with split reads" argument="--split" type="data" format="bam"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
42 <param name="mask" type="select" optional="True" label="Select chromosomes that you would like to exclude" multiple="True">
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
43 <options>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
44 <filter type="data_meta" ref="bowtie2_bam" key="reference_names" />
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
45 </options>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
46 </param>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
47 <param name="te_annotation_bed" label="BED file with TE locations" argument="--te" type="data" format="bed"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
48 <param name="se_mode" argument="--se" type="boolean" truevalue="--se" falsevalue="" label="Run in single-end mode?"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
49 <param name="deletions" argument="--deletions" type="boolean" truevalue="--deletions" falsevalue="" label="Find deletions only?"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
50 <param name="insertions" argument="--insertions" type="boolean" truevalue="--insertions" falsevalue="" label="Find insertions only?"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
51 <param name="strict" argument="--strict" type="boolean" truevalue="--strict" falsevalue="" label="Report high-confidence variants only?"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
52 </inputs>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
53 <outputs>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
54 <data name="insertions_out" format="bed" label="tepid_discover insertions on ${on_string}"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
55 <data name="deletions_out" format="bed" label="tepid_discover deletions on ${on_string}"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
56 <data name="insertion_reads_out" format="txt" label="tepid_discover reads supporting insertions for ${on_string}"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
57 <data name="deletion_reads_out" format="txt" label="tepid_discover reads supporting deletions for ${on_string}"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
58 </outputs>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
59 <tests>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
60 <test>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
61 <param name="bowtie2_bam" value="conc.bam"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
62 <param name="split_bam" value="split.bam"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
63 <param name="te_annotation_bed" value="TAIR9_TE.bed.gz" ftype="bed"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
64 <output name="insertions_out" file="insertions_test.bed"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
65 <output name="deletions_out" file="deletions_test.bed"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
66 <output name="insertion_reads_out" file="insertion_reads_test.txt"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
67 <output name="deletion_reads_out" file="deletion_reads_test.txt"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
68 </test>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
69 </tests>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
70 <help><![CDATA[
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
71 TEPID -- transposable element polymorphism identification
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
72
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
73 optional arguments:
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
74 -h, --help show this help message and exit
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
75 --version show program's version number and exit
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
76 -k, --keep keep all intermediate files
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
77 -d, --deletions find deletions only
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
78 -i, --insertions find insertions only
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
79 --strict Report high-confidence variants only
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
80 --mask MASK Mask chromosomes in comma separated list or file
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
81 -D DISCORDANT, --discordant DISCORDANT
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
82 Supply discordant reads bam file
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
83 -p PROC, --proc PROC number of processors
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
84 -n NAME, --name NAME sample name
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
85 -c CONC, --conc CONC bam file from bowtie2
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
86 -s SPLIT, --split SPLIT
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
87 split reads bam file from yaha
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
88 -t TE, --te TE TE annotation bedfile
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
89 --se Run in single-end mode
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
90 ]]></help>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
91 <expand macro="citations"/>
a5ef6470e54d planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff changeset
92 </tool>