Mercurial > repos > dave > lofreq_viterbi
annotate lofreq_viterbi.xml @ 0:e48c040956ea draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
author | dave |
---|---|
date | Wed, 27 Nov 2019 15:24:18 +0000 |
parents | |
children |
rev | line source |
---|---|
0
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
1 <tool id="lofreq_viterbi" name="Realign reads" version="@WRAPPER_VERSION@0" python_template_version="3.5"> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
2 <description>with LoFreq viterbi</description> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
3 <macros> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
4 <import>macros.xml</import> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
5 </macros> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
8 @PREPARE_REF@ |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
9 lofreq viterbi --ref '$reference_fasta_fn' --out - $keepflags --defqual $defqual '$reads' | samtools sort - -O BAM -o '$realigned' |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
10 ]]></command> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
11 <inputs> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
12 <param name="reads" type="data" format="bam" label="Reads to realign" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
13 <expand macro="reference_interface" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
14 <param argument="--keepflags" type="boolean" truevalue="--keepflags" label="Don't delete flags MC, MD, NM, and A" help="These flags are all prone to changing during realignment" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
15 <param argument="--defqual" type="integer" value="-1" label="Quality to assume for all bases with BQ2" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
16 </inputs> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
17 <outputs> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
18 <data name="realigned" format="bam" label="${tool.name} on ${on_string}: Realigned reads" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
19 </outputs> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
20 <tests> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
21 <test> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
22 <param name="reads" ftype="bam" value="lofreq-in1.bam" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
23 <param name="ref_selector" value="history" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
24 <param name="ref" ftype="fasta" value="pBR322.fa" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
25 <output name="realigned" file="viterbi-out1.bam" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
26 </test> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
27 <test> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
28 <param name="reads" ftype="bam" value="lofreq-in1.bam" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
29 <param name="ref_selector" value="history" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
30 <param name="keepflags" value="true" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
31 <param name="ref" ftype="fasta" value="pBR322.fa" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
32 <output name="realigned" file="viterbi-out2.bam" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
33 </test> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
34 </tests> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
35 <help><![CDATA[ |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
36 Usage: lofreq viterbi [options] in.bam |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
37 |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
38 Options: |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
39 -f | --ref FILE Indexed reference fasta file [null] |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
40 -k | --keepflags Don't delete flags MC, MD, NM and A, which are all prone to change during realignment. |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
41 -q | --defqual INT Assume INT as quality for all bases with BQ2. Default (=-1) is to use median quality of bases in read. |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
42 -o | --out FILE Output BAM file [- = stdout = default] |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
43 --verbose Be verbose |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
44 |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
45 NOTE: Output BAM file will (likely) be unsorted (use samtools sort, e.g. lofreq viterbi ... | samtools sort -') |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
46 |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
47 ]]></help> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
48 <expand macro="citations" /> |
e48c040956ea
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/lofreq commit b8b08e76ebdca1fceef0da1b377eb4b6d45b0847-dirty"
dave
parents:
diff
changeset
|
49 </tool> |