annotate snpSift_int.xml @ 0:1ae5526db990

Uploaded
author jjohnson
date Thu, 26 Jun 2014 09:22:13 -0400
parents
children 796388c291d3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
1 <tool id="snpSift_int" name="SnpSift Intervals" version="3.6">
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
2 <description>Filter variants using intervals</description>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
3 <!--
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
4 You can change the amount of memory used, just change the -Xmx parameter (e.g. use -Xmx2G for 2Gb of memory)
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
5 -->
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
6 <expand macro="requirements" />
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
7 <macros>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
8 <import>snpEff_macros.xml</import>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
9 </macros>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
10 <command>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
11 java -Xmx2G -jar \$SNPEFF_JAR_PATH/SnpSift.jar intervals -i $input $exclude $bedFile > $output
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
12 </command>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
13 <inputs>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
14 <param format="vcf" name="input" type="data" label="Variant input file in VCF format"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
15 <param format="bed" name="bedFile" type="data" label="Intervals (BED file)"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
16 <param name="exclude" type="boolean" truevalue="-x" falsevalue="" checked="false" label="Exclude Intervals"
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
17 help="Filter out (exclude) VCF entries that match any interval in the BED files"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
18 </inputs>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
19 <outputs>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
20 <data format="vcf" name="output" />
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
21 </outputs>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
22 <expand macro="stdio" />
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
23 <tests>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
24 <test>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
25 <param name="input" ftype="vcf" value="annotate_5.vcf"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
26 <param name="bedFile" ftype="bed" value="interval.bed"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
27 <param name="exclude" value="False"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
28 <output name="output">
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
29 <assert_contents>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
30 <has_text text="872687" />
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
31 <not_has_text text="1195966" />
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
32 </assert_contents>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
33 </output>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
34 </test>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
35 <test>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
36 <param name="input" ftype="vcf" value="annotate_5.vcf"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
37 <param name="bedFile" ftype="bed" value="interval.bed"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
38 <param name="exclude" value="True"/>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
39 <output name="output">
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
40 <assert_contents>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
41 <has_text text="1195966" />
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
42 <not_has_text text="872687" />
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
43 </assert_contents>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
44 </output>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
45 </test>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
46 </tests>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
47 <help>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
48
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
49 You can filter using intervals (BED file).
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
50
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
51 @EXTERNAL_DOCUMENTATION@
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
52 http://snpeff.sourceforge.net/SnpSift.html#intervals
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
53
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
54 @CITATION_SECTION@
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
55
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
56 </help>
1ae5526db990 Uploaded
jjohnson
parents:
diff changeset
57 </tool>