annotate 6_merge_vcfs.xml @ 6:62191abf5426

planemo upload commit b'7f6183b769772449fbcee903686b8d5ec5b7439f\n'-dirty
author jpayne
date Mon, 29 Jan 2018 13:56:19 -0500
parents eefdd97a6749
children 13539c458a6e
rev   line source
jpayne@0 1 <tool id="merge_vcfs" name="6. Merge VCFs" version="1.0.1" profile="16.10">
jpayne@0 2 <description>into a multi-sample VCF with consensus SNPs</description>
jpayne@0 3 <requirements>
jpayne@0 4 <requirement type="package" version="1.3.1">bcftools</requirement>
jpayne@0 5 <requirement type="package" version="1.0.1">snp-pipeline</requirement>
jpayne@0 6 <requirement type="package">tabix</requirement>
jpayne@6 7 <requirement type="package">package_python_3_5</requirement>
jpayne@0 8 </requirements>
jpayne@0 9 <command detect_errors="exit_code"><![CDATA[
jpayne@0 10 $__tool_directory__/snp-wind.py ./ -p "consensus.vcf"
jpayne@0 11 #for $vcf in $vcfs
jpayne@0 12 -n $vcf.element_identifier -f $vcf
jpayne@0 13 #end for
jpayne@0 14 > ./file
jpayne@0 15 && cat ./file
jpayne@0 16 && cfsan_snp_pipeline merge_vcfs ./file
jpayne@0 17 ]]></command>
jpayne@0 18 <inputs>
jpayne@0 19 <param type="data_collection" format="vcf" collection_type="list" name="vcfs" label="List of VCFs" />
jpayne@0 20 </inputs>
jpayne@0 21 <outputs>
jpayne@0 22 <data format="vcf" label="SNP matrix" name="snpmav" from_work_dir="snpma.vcf"/>
jpayne@0 23 </outputs>
jpayne@0 24 <tests>
jpayne@0 25 <test>
jpayne@0 26 <param name="vcfs">
jpayne@0 27 <collection type="list">
jpayne@0 28 <element name="sample1" value="samples/sample1/consensus.vcf" />
jpayne@0 29 <element name="sample2" value="samples/sample2/consensus.vcf" />
jpayne@0 30 <element name="sample3" value="samples/sample3/consensus.vcf" />
jpayne@0 31 <element name="sample4" value="samples/sample4/consensus.vcf" />
jpayne@0 32 </collection>
jpayne@0 33 </param>
jpayne@0 34 <output name="snpmav" value="snpma.vcf" lines_diff="2" />
jpayne@0 35 </test>
jpayne@0 36 </tests>
jpayne@0 37 <help><![CDATA[
jpayne@0 38 <a href="http://snp-pipeline.readthedocs.io/en/latest/index.html">http://snp-pipeline.readthedocs.io/en/latest/index.html</a>
jpayne@0 39 ]]></help>
jpayne@0 40 <citations>
jpayne@0 41 <citation type="doi">10.7717/peerj-cs.20</citation>
jpayne@0 42 </citations>
jpayne@0 43 </tool>