Mercurial > repos > sanbi-uwc > vcf_snps_utils
comparison intersect.xml @ 0:fc75be7f3fd2 draft
planemo upload for repository https://github.com/COMBAT-TB/vcf_snps_utils commit a7c330a5dff63e78b9ff963a0b380937d27f4449
| author | sanbi-uwc |
|---|---|
| date | Thu, 16 Aug 2018 07:41:03 -0400 |
| parents | |
| children | f8f16a682d01 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:fc75be7f3fd2 |
|---|---|
| 1 <?xml version="1.0"?> | |
| 2 <tool id="intersect" name="Intersect SNPs with a CSV file" version="@TOOL_VERSION@+galaxy0" profile="17.01"> | |
| 3 <description>Intersect SNPs with a CSV file</description> | |
| 4 <macros> | |
| 5 <import>vcf_snps_utils_macros.xml</import> | |
| 6 </macros> | |
| 7 | |
| 8 <command detect_errors="exit_code"><![CDATA[ | |
| 9 ln -s '$input_vcf' data.vcf && | |
| 10 ln -s '$input_csv' data.csv && | |
| 11 vcf_snps_utils intersect data.vcf data.csv --out "$output_pdf.file.path" | |
| 12 ]]> | |
| 13 </command> | |
| 14 | |
| 15 <inputs> | |
| 16 <param name="input_vcf" type="data" format="vcf" label="Input VCF" /> | |
| 17 <param name="input_csv" type="data" format="csv" label="Input CSV" /> | |
| 18 </inputs> | |
| 19 | |
| 20 <outputs> | |
| 21 <data name="output_pdf" format="pdf" label="SNPs Intersection Report" /> | |
| 22 <data name="output_txt" format="txt" label="SNPs Intersection Combination Report" /> | |
| 23 <data name="output_r" format="R" label="SNPs Intersection R object" /> | |
| 24 </outputs> | |
| 25 | |
| 26 <tests> | |
| 27 <test> | |
| 28 <param name="input_vcf" value="sample1.vcf" /> | |
| 29 <output name="output" compare="diff" lines_diff="2" file="sample1.html" ftype="html" /> | |
| 30 </test> | |
| 31 | |
| 32 <help> | |
| 33 | |
| 34 **What it does** | |
| 35 | |
| 36 Intersect SNPs and generate an output report from a CSV file of knowned SNPs (workflow generated/annotated) | |
| 37 | |
| 38 Usage: vcf_snps_utils intersect [OPTIONS] [VCFFILES]... CSVFILE | |
| 39 | |
| 40 ----- | |
| 41 | |
| 42 **Example** | |
| 43 | |
| 44 VCF snp intersect tool (CSV file). | |
| 45 | |
| 46 This tools compares CSV snps to the VCF snps This is to establish whether | |
| 47 the discovered (VCF snps) have been discovered in the pass. This will | |
| 48 potential be extended to include verification using other external source | |
| 49 such as databases/api. | |
| 50 | |
| 51 CSV File passed should be in the following format (Example): | |
| 52 position in H37Rv gene short name snp_type Reference Sample1 Sample2 Sample3 | |
| 53 1285 dnaA dnaA1285 nsSNP G G G G | |
| 54 4013 recF recF4013 nsSNP T C C C | |
| 55 | |
| 56 Report bugs to: combattb-help@sanbi.ac.za CombatTB home page: | |
| 57 <http://www.combattb.org/software/tools/> General help using CombatTB | |
| 58 software: <http://www.combattb.org/gethelp/> | |
| 59 | |
| 60 Options: | |
| 61 --out TEXT set the output directory, default is | |
| 62 "/tmp/vcf_snps_utils_output/" | |
| 63 --help Show this message and exit. | |
| 64 | |
| 65 vcf_snps_utils intersect example.vcf example.csv --out output/test | |
| 66 | |
| 67 </help> | |
| 68 | |
| 69 </tool> |
