Mercurial > repos > devteam > vcfbedintersect
annotate vcfbedintersect.xml @ 4:aea8e90ad788 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfbedintersect commit 36e9065027cc7bf721e9d203208477ee88906c57"
author | iuc |
---|---|
date | Thu, 23 Jan 2020 08:05:00 -0500 |
parents | 9edfe5145ba8 |
children |
rev | line source |
---|---|
3
9edfe5145ba8
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfbedintersect commit c2af291b241e37e0a55adbc1fc72a9fa37d93582
iuc
parents:
2
diff
changeset
|
1 <tool id="vcfbedintersect" name="VCF-BEDintersect:" version="@WRAPPER_VERSION@+galaxy0"> |
2
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
2 <description>Intersect VCF and BED datasets</description> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
3 <macros> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
4 <import>macros.xml</import> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
5 </macros> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
6 <expand macro="requirements"/> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
7 <expand macro="stdio" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
8 <command> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
9 #if str($bed_vs_interval.bed_vs_interval_selector) == "bed": |
4
aea8e90ad788
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfbedintersect commit 36e9065027cc7bf721e9d203208477ee88906c57"
iuc
parents:
3
diff
changeset
|
10 vcfintersect -b '${bed_vs_interval.bed_input}' ${invert} '${vcf_input}' > '${out_file1}' |
2
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
11 #else: |
4
aea8e90ad788
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/vcflib/vcfbedintersect commit 36e9065027cc7bf721e9d203208477ee88906c57"
iuc
parents:
3
diff
changeset
|
12 vcfintersect -R '${bed_vs_interval.int_input}' ${invert} '${vcf_input}' > '${out_file1}' |
2
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
13 #end if |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
14 </command> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
15 <inputs> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
16 <!-- selecting refernce source --> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
17 <param name="vcf_input" type="data" format="vcf" label="Select VCF dataset" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
18 <conditional name="bed_vs_interval"> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
19 <param name="bed_vs_interval_selector" type="select" label="BED dataset or an interval to intersect with"> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
20 <option value="bed">BED</option> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
21 <option value="interval">Interval</option> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
22 </param> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
23 <when value="bed"> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
24 <param name="bed_input" type="data" format="bed" label="Select BED dataset" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
25 </when> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
26 <when value="interval"> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
27 <param name="int_input" type="text" value="chr20:1-30" label="Enter interval string" help="use chr:start-end format" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
28 </when> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
29 </conditional> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
30 <param name="invert" type="boolean" truevalue="-v" falsevalue="" label="Invert selection?" help="-v, --invert. Print entries that DO NOT intersect." /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
31 </inputs> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
32 <outputs> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
33 <data format="vcf" name="out_file1" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
34 </outputs> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
35 <tests> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
36 <test> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
37 <param name="bed_vs_interval_selector" value="bed" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
38 <param name="bed_input" value="vcfannotate.bed" ftype="bed" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
39 <param name="invert" value="False" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
40 <param name="vcf_input" value="vcflib.vcf"/> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
41 <output name="out_file1" file="vcfbedintersect-test1.vcf"/> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
42 </test> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
43 <test> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
44 <param name="bed_vs_interval_selector" value="interval" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
45 <param name="int_input" value="20:1-30000" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
46 <param name="invert" value="False" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
47 <param name="vcf_input" value="vcflib.vcf"/> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
48 <output name="out_file1" file="vcfbedintersect-test2.vcf"/> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
49 </test> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
50 </tests> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
51 <help> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
52 Computes intersection between a VCF dataset and a set of genomic intervals defined as either a BED dataset (http://genome.ucsc.edu/FAQ/FAQformat.html#format1) or a manually typed interval (in the form of chr:start-end). |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
53 |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
54 ---- |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
55 |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
56 VCFBEDintersect is based on vcfintersect utility of VCFlib toolkit developed by Erik Garrison (https://github.com/ekg/vcflib). |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
57 </help> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
58 <expand macro="citations" /> |
31a86dbe17c0
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/vcflib/vcfbedintersect commit 0b9b6512272b82637c2f1e831367e89aed77ae79
devteam
parents:
1
diff
changeset
|
59 </tool> |