comparison vcfallelicprimitives.xml @ 0:239da20770dc

Imported from capsule None
author anton
date Wed, 11 Jun 2014 17:10:38 -0400
parents
children e66cbd28cdfa
comparison
equal deleted inserted replaced
-1:000000000000 0:239da20770dc
1 <tool id="vcfallelicprimitives" name="VcfAllelicPrimitives:" version="0.0.1">
2 <requirements>
3 <requirement type="package" version="586c5ae5d57a38dae6b32ea831fb1f7cfa14c9bd">vcflib</requirement>
4 </requirements>
5 <description>Split alleleic primitives (gaps or mismatches) into multiple VCF lines</description>
6 <command>cat "${input}" | vcfallelicprimitives ${m_option} -t "${t_option}" > "${out_file1}"</command>
7 <inputs>
8 <param format="vcf" name="input" type="data" label="Select VCF dataset"/>
9 <param name="m_option" type="boolean" checked="true" truevalue="-m" falsevalue="" label="Retain MNPs as separate events" help="--use-mnps option"/>
10 <param name="t_option" size="20" type="text" value="Split primitives" label="Mark records which are split with this tag" help="--tag-parsed option"/>
11 </inputs>
12 <outputs>
13 <data format="vcf" name="out_file1" />
14 </outputs>
15 <tests>
16 <test>
17 <param name="m_option" value="true"/>
18 <param name="t_option" value="Split primitives"/>
19 <param name="input" value="vcflib.vcf"/>
20 <output name="out_file1" file="vcfallelicprimitives-test1.vcf"/>
21 </test>
22 </tests>
23 <help>
24
25 If multiple alleleic primitives (gaps or mismatches) are specified in a single VCF record, this tools splits the record into multiple lines, but drops all INFO fields. "Pure" MNPs are split into multiple SNPs unless the -m flag is provided. Genotypes are phased where complex alleles have been decomposed, provided genotypes in the input.
26
27 The options are::
28
29 --use-mnps (-m)
30 Retain MNPs as separate events
31
32 --tag-parsed (-t) FLAG
33 Tag records which are split apart of a complex allele
34 with this flag
35
36 ----
37
38 Vcfallelicprimitives is a part of VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib).
39
40 </help>
41 </tool>