annotate vcfbreakcreatemulti.xml @ 2:20eb11864500

Updated tool version to 0.0.2
author Anton Nekrutenko <anton@bx.psu.edu>
date Wed, 25 Jun 2014 16:36:21 -0400
parents 0ffd38828753
children c5df11927f91
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
20eb11864500 Updated tool version to 0.0.2
Anton Nekrutenko <anton@bx.psu.edu>
parents: 1
diff changeset
1 <tool id="vcfbreakcreatemulti" name="VCFbreakCreateMulti:" version="0.0.2">
0
c0387293312e Imported from capsule None
anton
parents:
diff changeset
2 <requirements>
1
0ffd38828753 Updated to vcflib 86723982aa
Anton Nekrutenko <anton@bx.psu.edu>
parents: 0
diff changeset
3 <requirement type="package" version="86723982aa">vcflib</requirement>
0
c0387293312e Imported from capsule None
anton
parents:
diff changeset
4 </requirements>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
5 <description>Break multiple alleles into multiple records, or combine overallpoing alleles into a single record</description>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
6 <command>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
7
c0387293312e Imported from capsule None
anton
parents:
diff changeset
8 #if str($break_or_create) == "break":
c0387293312e Imported from capsule None
anton
parents:
diff changeset
9 vcfbreakmulti "${input1}" > "${out_file1}"
c0387293312e Imported from capsule None
anton
parents:
diff changeset
10 #elif str($break_or_create) == "create":
c0387293312e Imported from capsule None
anton
parents:
diff changeset
11 vcfcreatemulti "${input1}" > "${out_file1}"
c0387293312e Imported from capsule None
anton
parents:
diff changeset
12 #end if
c0387293312e Imported from capsule None
anton
parents:
diff changeset
13
c0387293312e Imported from capsule None
anton
parents:
diff changeset
14 </command>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
15
c0387293312e Imported from capsule None
anton
parents:
diff changeset
16 <inputs>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
17 <param format="vcf" name="input1" type="data" label="Select VCF dataset"/>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
18 <param name="break_or_create" type="select" display="radio" label="Break or Create?">
c0387293312e Imported from capsule None
anton
parents:
diff changeset
19 <option value="break">Break</option>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
20 <option value="create">Create</option>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
21 </param>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
22 </inputs>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
23 <outputs>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
24 <data format="vcf" name="out_file1" />
c0387293312e Imported from capsule None
anton
parents:
diff changeset
25 </outputs>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
26 <tests>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
27 <test>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
28 <param name="break_or_create" value="break"/>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
29 <param name="input1" value="vcflib.vcf"/>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
30 <output name="out_file1" file="vcfbreakcreatemulti-test1.vcf"/>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
31 </test>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
32 <test>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
33 <param name="break_or_create" value="create"/>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
34 <param name="input1" value="vcfbreakcreatemulti-test2-input.vcf"/>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
35 <output name="out_file1" file="vcfbreakcreatemulti-test2.vcf"/>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
36 </test>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
37 </tests>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
38 <help>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
39
c0387293312e Imported from capsule None
anton
parents:
diff changeset
40 This tool breaks or creates multiallelic VCF records based on user selection (**Break** or **Create**, respectively):
c0387293312e Imported from capsule None
anton
parents:
diff changeset
41
c0387293312e Imported from capsule None
anton
parents:
diff changeset
42 - **Break** = If multiple alleles are specified in a single record, break the record into multiple lines, preserving allele-specific INFO fields.
c0387293312e Imported from capsule None
anton
parents:
diff changeset
43 - **Create** = If overlapping alleles are represented across multiple records, merge them into a single record.
c0387293312e Imported from capsule None
anton
parents:
diff changeset
44
c0387293312e Imported from capsule None
anton
parents:
diff changeset
45 ----
c0387293312e Imported from capsule None
anton
parents:
diff changeset
46
c0387293312e Imported from capsule None
anton
parents:
diff changeset
47 This tools is based on vcfbreakmulti and vcfcreatemulti utilities from the VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib).
c0387293312e Imported from capsule None
anton
parents:
diff changeset
48
c0387293312e Imported from capsule None
anton
parents:
diff changeset
49 </help>
c0387293312e Imported from capsule None
anton
parents:
diff changeset
50 </tool>