Mercurial > repos > mvdbeek > tepid_discover
annotate tepid-discover.xml @ 0:a5ef6470e54d draft
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
author | mvdbeek |
---|---|
date | Thu, 15 Dec 2016 08:33:53 -0500 |
parents | |
children | cea423bd0cd2 |
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 |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
11 $deletions |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
12 $insertions |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
13 $strict |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
14 #if $mask: |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
15 --mask '$mask' |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
16 #end if |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
17 #if $discordant_bam: |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
18 --discordant '$discordant_bam' |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
19 #end if |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
20 @PROC@ |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
21 @NAME@ |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
22 -c conc.bam |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
23 -s '$split_bam' |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
24 -t '$te_annotation_bed' |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
25 $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
|
26 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
|
27 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
|
28 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
|
29 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
|
30 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
|
31 ]]></command> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
32 <inputs> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
33 <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
|
34 <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
|
35 <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
|
36 <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
|
37 <options> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
38 <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
|
39 </options> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
40 </param> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
41 <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
|
42 <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
|
43 <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
|
44 <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
|
45 <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
|
46 </inputs> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
47 <outputs> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
48 <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
|
49 <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
|
50 <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
|
51 <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
|
52 </outputs> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
53 <tests> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
54 <test> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
55 <param name="bowtie2_bam" value="conc.bam"/> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
56 <param name="split_bam" value="split.bam"/> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
57 <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
|
58 <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
|
59 <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
|
60 <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
|
61 <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
|
62 </test> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
63 </tests> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
64 <help><![CDATA[ |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
65 TEPID -- transposable element polymorphism identification |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
66 |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
67 optional arguments: |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
68 -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
|
69 --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
|
70 -k, --keep keep all intermediate files |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
71 -d, --deletions find deletions only |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
72 -i, --insertions find insertions only |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
73 --strict Report high-confidence variants only |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
74 --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
|
75 -D DISCORDANT, --discordant DISCORDANT |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
76 Supply discordant reads bam file |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
77 -p PROC, --proc PROC number of processors |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
78 -n NAME, --name NAME sample name |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
79 -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
|
80 -s SPLIT, --split SPLIT |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
81 split reads bam file from yaha |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
82 -t TE, --te TE TE annotation bedfile |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
83 --se Run in single-end mode |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
84 ]]></help> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
85 <expand macro="citations"/> |
a5ef6470e54d
planemo upload for repository https://github.com/ListerLab/TEPID commit c36c280ed14c7afaf6859d37656a7b91ba6944b3-dirty
mvdbeek
parents:
diff
changeset
|
86 </tool> |