Mercurial > repos > nml > quasitools
annotate callntvar.xml @ 1:1abf6b32ecfd draft
planemo upload for repository https://github.com/phac-nml/quasitools commit 1a2c7bac09d21d92533bc2ef31dd05c7ac41b39f
author | nml |
---|---|
date | Wed, 13 Dec 2017 10:28:31 -0500 |
parents | 71976cfc9022 |
children | a7093d5933a8 |
rev | line source |
---|---|
0
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
1 <tool id="callntvar" name="Nucleotide Variants" version="0.1.0"> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
2 <description>Identifies nucleotide variants</description> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
3 <requirements> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
4 <requirement type="package" version="0.2.2">quasitools</requirement> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
5 </requirements> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
7 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
8 ln -f -s ${input_bam.metadata.bam_index} ${input_bam}.bai && |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
9 quasitools call ntvar $input_bam $ref_file |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
10 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
11 #if $error_rate: |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
12 -e $error_rate |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
13 #end if |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
14 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
15 -o output.vcf |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
16 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
17 ]]></command> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
18 <inputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
19 <param name="input_bam" type="data" format="bam" optional="false" label="Bam file" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
20 <param name="ref_file" type="data" format="fasta" optional="false" label="Reference file" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
21 <param name="error_rate" type="float" optional="true" min="0" max="1" value="0.01" label="Error rate" help="Estimated sequencing error rate. Defaults to 0.01."/> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
22 </inputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
23 <outputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
24 <data format="vcf" name="output" from_work_dir="output.vcf" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
25 </outputs> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
26 <tests> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
27 <test> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
28 <param name="input_bam" value="align.bam" ftype="bam" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
29 <param name="ref_file" value="hxb2_pol.fas" ftype="fasta" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
30 <output name="output" > |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
31 <assert_contents> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
32 <has_text_matching expression="#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO"/> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
33 <has_text_matching expression="hxb2_pol\s606\s.\sa\sc\s69\sPASS\sDP=157;AC=12;AF=0.0764" /> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
34 </assert_contents> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
35 </output> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
36 </test> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
37 </tests> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
38 <help><![CDATA[ |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
39 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
40 Nucleotide Variants |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
41 =================== |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
42 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
43 Call nucleotide variants for a given BAM file and a supplied reference file. |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
44 |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
45 ]]></help> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
46 <citations> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
47 </citations> |
71976cfc9022
planemo upload for repository https://github.com/phac-nml/quasitools commit 8a264400a75945e2e0fdd5a08c007a8b1b7a2f0f
nml
parents:
diff
changeset
|
48 </tool> |