annotate intersect.xml @ 7:a074dbf35f0c draft

planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 443745757700041f56328d9f35343178ea48bbb9
author sanbi-uwc
date Thu, 23 Aug 2018 06:04:16 -0400
parents 51bc4a693493
children 28479a8ecb3d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
796bf12181f6 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 3ced0593184eef2efb0d9bb78d5caac1d5ebb37f
sanbi-uwc
parents: 4
diff changeset
1 <?xml version="1.0"?>
3
ec601f9af09b planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 90b4a796b2f0078aee7417167de78c3416226445
sanbi-uwc
parents: 2
diff changeset
2 <tool id="vcf_snps_utils_intersect" name="IntersectSNPs" version="@TOOL_VERSION@+galaxy0">
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
3 <description>Intersect SNPs with a CSV file</description>
1
f8f16a682d01 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit cfb04d59b0377b23ddc1264ddcf8677f2b191aa8
sanbi-uwc
parents: 0
diff changeset
4 <macros>
7
a074dbf35f0c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 443745757700041f56328d9f35343178ea48bbb9
sanbi-uwc
parents: 6
diff changeset
5 <token name="@TOOL_VERSION@"><v0 class="0 3b1"></v0></token>
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
6 </macros>
2
cb2055ee4e6c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 25c750eea54d573ae0dcd3e5af23cffb8ba4c63b
sanbi-uwc
parents: 1
diff changeset
7
6
51bc4a693493 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 738f22d38aa7721ccf5fb300f0185adac948beae
sanbi-uwc
parents: 5
diff changeset
8 <requirements>
2
cb2055ee4e6c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 25c750eea54d573ae0dcd3e5af23cffb8ba4c63b
sanbi-uwc
parents: 1
diff changeset
9 <requirement type="package" version="@TOOL_VERSION@">vcf_snps_utils</requirement>
cb2055ee4e6c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 25c750eea54d573ae0dcd3e5af23cffb8ba4c63b
sanbi-uwc
parents: 1
diff changeset
10 </requirements>
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
11
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
12 <command detect_errors="exit_code"><![CDATA[
7
a074dbf35f0c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 443745757700041f56328d9f35343178ea48bbb9
sanbi-uwc
parents: 6
diff changeset
13 vcf_snps_utils intersect *.vcf '$input_csv' --outdir "$output_report.files_path" &&
a074dbf35f0c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 443745757700041f56328d9f35343178ea48bbb9
sanbi-uwc
parents: 6
diff changeset
14 mv vcf_intesect_report.html $output_report
6
51bc4a693493 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 738f22d38aa7721ccf5fb300f0185adac948beae
sanbi-uwc
parents: 5
diff changeset
15 ]]>
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
16 </command>
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
17
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
18 <inputs>
7
a074dbf35f0c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 443745757700041f56328d9f35343178ea48bbb9
sanbi-uwc
parents: 6
diff changeset
19 <param name="input_vcfs" type="data" format="vcf" label="Select Workflow VCF Datasets" min="1" multiple="True"/>
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
20 <param name="input_csv" type="data" format="csv" label="Input CSV" />
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
21 </inputs>
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
22
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
23 <outputs>
7
a074dbf35f0c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 443745757700041f56328d9f35343178ea48bbb9
sanbi-uwc
parents: 6
diff changeset
24 <data name="output_report" format="html" label="SNPs Intersect output report" />
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
25 </outputs>
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
26
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
27 <tests>
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
28 <test>
7
a074dbf35f0c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 443745757700041f56328d9f35343178ea48bbb9
sanbi-uwc
parents: 6
diff changeset
29 <param name="input_vcfs" value="test.vcf" />
a074dbf35f0c planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 443745757700041f56328d9f35343178ea48bbb9
sanbi-uwc
parents: 6
diff changeset
30 <output name="output_report" compare="diff" lines_diff="2" file="report.html" ftype="html" />
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
31 </test>
1
f8f16a682d01 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit cfb04d59b0377b23ddc1264ddcf8677f2b191aa8
sanbi-uwc
parents: 0
diff changeset
32 </tests>
5
796bf12181f6 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 3ced0593184eef2efb0d9bb78d5caac1d5ebb37f
sanbi-uwc
parents: 4
diff changeset
33 <help><![CDATA[
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
34
4
9c39be76e559 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a277f88f2a997acde30a91fc0ad52cf96b697e22
sanbi-uwc
parents: 3
diff changeset
35 **What it does**
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
36
4
9c39be76e559 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a277f88f2a997acde30a91fc0ad52cf96b697e22
sanbi-uwc
parents: 3
diff changeset
37 Intersect SNPs and generate an output report from a CSV file of knowned SNPs (workflow generated/annotated)
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
38
4
9c39be76e559 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a277f88f2a997acde30a91fc0ad52cf96b697e22
sanbi-uwc
parents: 3
diff changeset
39 Usage: vcf_snps_utils intersect [OPTIONS] [VCFFILES]... CSVFILE
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
40
4
9c39be76e559 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a277f88f2a997acde30a91fc0ad52cf96b697e22
sanbi-uwc
parents: 3
diff changeset
41 -----
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
42
4
9c39be76e559 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a277f88f2a997acde30a91fc0ad52cf96b697e22
sanbi-uwc
parents: 3
diff changeset
43 **Example**
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
44
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
45 VCF snp intersect tool (CSV file).
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
46
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
47 This tools compares CSV snps to the VCF snps This is to establish whether
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
48 the discovered (VCF snps) have been discovered in the pass. This will
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
49 potential be extended to include verification using other external source
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
50 such as databases/api.
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
51
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
52 CSV File passed should be in the following format (Example):
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
53 position in H37Rv gene short name snp_type Reference Sample1 Sample2 Sample3
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
54 1285 dnaA dnaA1285 nsSNP G G G G
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
55 4013 recF recF4013 nsSNP T C C C
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
56
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
57 Report bugs to: combattb-help@sanbi.ac.za CombatTB home page:
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
58 <http://www.combattb.org/software/tools/> General help using CombatTB
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
59 software: <http://www.combattb.org/gethelp/>
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
60
4
9c39be76e559 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a277f88f2a997acde30a91fc0ad52cf96b697e22
sanbi-uwc
parents: 3
diff changeset
61 Options:
9c39be76e559 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a277f88f2a997acde30a91fc0ad52cf96b697e22
sanbi-uwc
parents: 3
diff changeset
62 --out TEXT set the output directory, default is
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
63 "/tmp/vcf_snps_utils_output/"
4
9c39be76e559 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a277f88f2a997acde30a91fc0ad52cf96b697e22
sanbi-uwc
parents: 3
diff changeset
64 --help Show this message and exit.
0
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
65
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
66 vcf_snps_utils intersect example.vcf example.csv --out output/test
fc75be7f3fd2 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff changeset
67
5
796bf12181f6 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 3ced0593184eef2efb0d9bb78d5caac1d5ebb37f
sanbi-uwc
parents: 4
diff changeset
68 ]]></help>
796bf12181f6 planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit 3ced0593184eef2efb0d9bb78d5caac1d5ebb37f
sanbi-uwc
parents: 4
diff changeset
69 </tool>