Mercurial > repos > sanbi-uwc > vcf_snps_utils
annotate intersect.xml @ 1:f8f16a682d01 draft
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit cfb04d59b0377b23ddc1264ddcf8677f2b191aa8
| author | sanbi-uwc |
|---|---|
| date | Thu, 16 Aug 2018 08:14:19 -0400 |
| parents | fc75be7f3fd2 |
| children | cb2055ee4e6c |
| rev | line source |
|---|---|
|
0
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
2 <tool id="intersect" name="Intersect SNPs with a CSV file" version="@TOOL_VERSION@+galaxy0" profile="17.01"> |
|
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> |
|
0
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
5 <import>vcf_snps_utils_macros.xml</import> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
6 </macros> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
7 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
9 ln -s '$input_vcf' data.vcf && |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
10 ln -s '$input_csv' data.csv && |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
11 vcf_snps_utils intersect data.vcf data.csv --out "$output_pdf.file.path" |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
12 ]]> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
13 </command> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
14 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
15 <inputs> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
16 <param name="input_vcf" type="data" format="vcf" label="Input VCF" /> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
17 <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
|
18 </inputs> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
19 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
20 <outputs> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
21 <data name="output_pdf" format="pdf" label="SNPs Intersection Report" /> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
22 <data name="output_txt" format="txt" label="SNPs Intersection Combination Report" /> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
23 <data name="output_r" format="R" label="SNPs Intersection R object" /> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
24 </outputs> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
25 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
26 <tests> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
27 <test> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
28 <param name="input_vcf" value="sample1.vcf" /> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
29 <output name="output" compare="diff" lines_diff="2" file="sample1.html" ftype="html" /> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
30 </test> |
|
1
f8f16a682d01
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit cfb04d59b0377b23ddc1264ddcf8677f2b191aa8
sanbi-uwc
parents:
0
diff
changeset
|
31 </tests> |
|
f8f16a682d01
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit cfb04d59b0377b23ddc1264ddcf8677f2b191aa8
sanbi-uwc
parents:
0
diff
changeset
|
32 |
|
0
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
33 <help> |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
34 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
35 **What it does** |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
36 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
37 Intersect SNPs and generate an output report from a CSV file of knowned SNPs (workflow generated/annotated) |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
38 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
39 Usage: vcf_snps_utils intersect [OPTIONS] [VCFFILES]... CSVFILE |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
40 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
41 ----- |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
42 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
43 **Example** |
|
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 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
61 Options: |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
62 --out TEXT set the output directory, default is |
|
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/" |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
64 --help Show this message and exit. |
|
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 |
|
1
f8f16a682d01
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit cfb04d59b0377b23ddc1264ddcf8677f2b191aa8
sanbi-uwc
parents:
0
diff
changeset
|
68 </help> |
|
0
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
69 |
|
fc75be7f3fd2
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
sanbi-uwc
parents:
diff
changeset
|
70 </tool> |
