comparison vcfcheck.xml @ 3:dfe0b3d70972 draft

Uploaded
author anton
date Tue, 10 Jun 2014 12:30:55 -0400
parents 158ae441d7a2
children fd7faee2c5fc
comparison
equal deleted inserted replaced
2:2a60fa33b3ba 3:dfe0b3d70972
1 <tool id="vcfcheck" name="VCFcheck:" version="0.0.1"> 1 <tool id="vcfcheck" name="VCFcheck:" version="0.0.1">
2 <requirements> 2 <requirements>
3 <requirement type="package" version="586c5ae5d57a38dae6b32ea831fb1f7cfa14c9bd">vcflib</requirement> 3 <requirement type="package" version="586c5ae5d57a38dae6b32ea831fb1f7cfa14c9bd">vcflib</requirement>
4 <!-- <requirement type="package" version="0.1.18">samtools</requirement> -->
5 </requirements> 4 </requirements>
6 <description>Verify that the reference allele matches the reference genome</description> 5 <description>Verify that the reference allele matches the reference genome</description>
7 <command> 6 <command>
8 #set $reference_fasta_filename = "localref.fa" 7 #set $reference_fasta_filename = "localref.fa"
9 #if str( $reference_source.reference_source_selector ) == "history": 8 #if str( $reference_source.reference_source_selector ) == "history":
23 <options from_data_table="fasta_indexes"> 22 <options from_data_table="fasta_indexes">
24 <!--<filter type="data_meta" key="dbkey" ref="input_bam" column="value"/>--> 23 <!--<filter type="data_meta" key="dbkey" ref="input_bam" column="value"/>-->
25 </options> 24 </options>
26 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/> 25 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
27 </param> 26 </param>
28 <param name="input_vcf" type="data" format="vcf" label="VCF dataset to check"> 27 <param name="input_vcf" type="data" format="vcf" label="Select VCF dataset">
29 <!-- Validators are commented to allow users apply too to any build. May need to be revised in the future 28 <!-- Validators are commented to allow users apply too to any build. May need to be revised in the future
30 <validator type="unspecified_build" /> 29 <validator type="unspecified_build" />
31 <validator type="dataset_metadata_in_data_table" table_name="fasta_indexes" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." /> 30 <validator type="dataset_metadata_in_data_table" table_name="fasta_indexes" metadata_name="dbkey" metadata_column="1" message="Sequences are not currently available for the specified build." />
32 --> 31 -->
33 </param> 32 </param>
34 </when> 33 </when>
35 <when value="history"> <!-- FIX ME!!!! --> 34 <when value="history"> <!-- FIX ME!!!! -->
36 <param name="ref_file" type="data" format="fasta" label="Using reference file" /> 35 <param name="ref_file" type="data" format="fasta" label="Using reference file" />
37 <param name="input_vcf" type="data" format="vcf" label="VCF dataset to check" /> 36 <param name="input_vcf" type="data" format="vcf" label="Select VCF dataset" />
38 </when> 37 </when>
39 </conditional> 38 </conditional>
40 <param name="failure_selector" type="select" display="radio" label="Exclude or include failed sites"> 39 <param name="failure_selector" type="select" display="radio" label="Exclude or include failed sites">
41 <option value="-x">Exculde failures (-x option)</option> 40 <option value="-x">Exculde failures (-x option)</option>
42 <option value="-k">Keep failures (-k option)</option> 41 <option value="-k">Keep failures (-k option)</option>
59 </tests> 58 </tests>
60 <help> 59 <help>
61 60
62 Verifies that the VCF REF field matches the reference as described. 61 Verifies that the VCF REF field matches the reference as described.
63 62
64 Options:: 63 The options are::
65 64
66 -x, --exclude-failures If a record fails, don't print it. Otherwise do. 65 -x, --exclude-failures If a record fails, don't print it. Otherwise do.
67 -k, --keep-failures Print if the record fails, otherwise not. 66 -k, --keep-failures Print if the record fails, otherwise not.
68 67
69 ---- 68 ----