|
0
|
1 <tool id="vcfutils_vcf2fq" name="vcfutils_vcf2fq: convert vcf file to fastq file" version="1.16" python_template_version="3.9">
|
|
|
2 <requirements>
|
|
|
3 <requirement type="package" version="1.16">bcftools</requirement>
|
|
|
4 </requirements>
|
|
|
5 <command detect_errors="exit_code"><![CDATA[
|
|
|
6 vcfutils.pl vcf2fq -d '$min_depth' -D '$max_depth' -Q '$min_RMS_mapQ' -l '$filtering_window' '$all_sites_vcf_f' > '$fastq_f'
|
|
|
7 ]]></command>
|
|
|
8 <inputs>
|
|
|
9 <param type="data" name="all_sites_vcf_f" format="vcf" />
|
|
|
10 <param type="integer" name="min_depth" label="min covereage depth" value="3" />
|
|
|
11 <param type="integer" name="max_depth" label="max coverage depth" value="100000" />
|
|
|
12 <param type="integer" name="min_RMS_mapQ" label="min RMS mapQ" value="10" />
|
|
|
13 <param type="integer" name="filtering_window" label="filtering window" value="5" />
|
|
|
14 </inputs>
|
|
|
15 <outputs>
|
|
|
16 <data name="fastq_f" format="fastq" />
|
|
|
17 </outputs>
|
|
|
18 <tests>
|
|
|
19 <test>
|
|
|
20 <param name="all_sites_vcf_f" value="test_vcfutils_vcf2fq/all_sites.vcf"/>
|
|
|
21 <output name="fastq_f" file="test_vcfutils_vcf2fq/consensus.fastq"/>
|
|
|
22 </test>
|
|
|
23 </tests>
|
|
|
24 <help><![CDATA[
|
|
|
25 [vcfutils_vcf2fq]
|
|
|
26 Aim: Deduce from vcf file output fastq file
|
|
|
27 in:
|
|
|
28 - vcf file with all sites
|
|
|
29 out:
|
|
|
30 - consensus fastq file
|
|
|
31
|
|
|
32 usage: vcfutils.pl vcf2fq all_sites.vcf > consensus.fastq
|
|
|
33
|
|
|
34 optional arguments:
|
|
|
35 -d INT minimum depth [3]
|
|
|
36 -D INT maximum depth [100000]
|
|
|
37 -Q INT min RMS mapQ [10]
|
|
|
38 -l INT INDEL filtering window [5]
|
|
|
39 ]]></help>
|
|
|
40 <citations>
|
|
|
41 <citation type="bibtex">
|
|
|
42 @misc{vcfutils_vcf2fq,
|
|
|
43 author = {Li, Heng},
|
|
|
44 year = {2009},
|
|
|
45 title = {The Sequence Alignment/Map format and SAMtools},
|
|
|
46 publisher = {},
|
|
|
47 journal = {Bioinformatics},
|
|
|
48 url = {https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2723002},
|
|
|
49 }</citation>
|
|
|
50 <citation type="doi">10.1093/bioinformatics/btp352</citation>
|
|
|
51 </citations>
|
|
|
52 </tool>
|