Mercurial > repos > mvdbeek > tepid_discover
annotate tepid-discover.xml @ 2:4a028613cfae draft
planemo upload for repository https://github.com/ListerLab/TEPID commit 40ee682fc4468bcdcc77f79a3bd098dc7f0019a7-dirty
author | mvdbeek |
---|---|
date | Thu, 05 Jan 2017 12:57:26 -0500 |
parents | cea423bd0cd2 |
children | 370c325b5941 |
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 |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
28 mv insertions_'$bowtie2_bam.element_identifier'.bed '$insertions_out' && |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
29 mv deletions_'$bowtie2_bam.element_identifier'.bed '$deletions_out' && |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
30 mv insertion_reads_'$bowtie2_bam.element_identifier'.txt '$insertion_reads_out' && |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
31 mv deletion_reads_'$bowtie2_bam.element_identifier'.txt '$deletion_reads_out' && |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
32 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
|
33 ]]></command> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
34 <inputs> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
35 <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
|
36 <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
|
37 <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
|
38 <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
|
39 <options> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
40 <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
|
41 </options> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
42 </param> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
43 <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
|
44 <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
|
45 <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
|
46 <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
|
47 <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
|
48 </inputs> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
49 <outputs> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
50 <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
|
51 <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
|
52 <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
|
53 <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
|
54 </outputs> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
55 <tests> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
56 <test> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
57 <param name="bowtie2_bam" value="conc.bam"/> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
58 <param name="split_bam" value="split.bam"/> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
59 <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
|
60 <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
|
61 <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
|
62 <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
|
63 <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
|
64 </test> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
65 </tests> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
66 <help><![CDATA[ |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
67 TEPID -- transposable element polymorphism identification |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
68 |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
69 optional arguments: |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
70 -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
|
71 --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
|
72 -k, --keep keep all intermediate files |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
73 -d, --deletions find deletions only |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
74 -i, --insertions find insertions only |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
75 --strict Report high-confidence variants only |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
76 --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
|
77 -D DISCORDANT, --discordant DISCORDANT |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
78 Supply discordant reads bam file |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
79 -p PROC, --proc PROC number of processors |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
80 -n NAME, --name NAME sample name |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
81 -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
|
82 -s SPLIT, --split SPLIT |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
83 split reads bam file from yaha |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
84 -t TE, --te TE TE annotation bedfile |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
85 --se Run in single-end mode |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
86 ]]></help> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
87 <expand macro="citations"/> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
88 </tool> |