Mercurial > repos > sanbi-uwc > vcf_snps_utils
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 6:51bc4a693493 | 7:a074dbf35f0c |
|---|---|
| 1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
| 2 <tool id="vcf_snps_utils_intersect" name="IntersectSNPs" version="@TOOL_VERSION@+galaxy0"> | 2 <tool id="vcf_snps_utils_intersect" name="IntersectSNPs" version="@TOOL_VERSION@+galaxy0"> |
| 3 <description>Intersect SNPs with a CSV file</description> | 3 <description>Intersect SNPs with a CSV file</description> |
| 4 <macros> | 4 <macros> |
| 5 <token name="@TOOL_VERSION@">0.0.2</token> | 5 <token name="@TOOL_VERSION@"><v0 class="0 3b1"></v0></token> |
| 6 </macros> | 6 </macros> |
| 7 | 7 |
| 8 <requirements> | 8 <requirements> |
| 9 <requirement type="package" version="@TOOL_VERSION@">vcf_snps_utils</requirement> | 9 <requirement type="package" version="@TOOL_VERSION@">vcf_snps_utils</requirement> |
| 10 </requirements> | 10 </requirements> |
| 11 | 11 |
| 12 <command detect_errors="exit_code"><![CDATA[ | 12 <command detect_errors="exit_code"><![CDATA[ |
| 13 ln -s '$input_vcf' data.vcf && | 13 vcf_snps_utils intersect *.vcf '$input_csv' --outdir "$output_report.files_path" && |
| 14 ln -s '$input_csv' data.csv && | 14 mv vcf_intesect_report.html $output_report |
| 15 vcf_snps_utils intersect data.vcf data.csv --outdir "$output_pdf.files_path" && | |
| 16 mv "$output_pdf.files_path"/Intervene_upset.pdf $output_pdf && | |
| 17 mv "$output_pdf.files_path"/Intervene_upset_combinations.txt $output_txt | |
| 18 ]]> | 15 ]]> |
| 19 </command> | 16 </command> |
| 20 | 17 |
| 21 <inputs> | 18 <inputs> |
| 22 <param name="input_vcf" type="data" format="vcf" label="Input VCF" /> | 19 <param name="input_vcfs" type="data" format="vcf" label="Select Workflow VCF Datasets" min="1" multiple="True"/> |
| 23 <param name="input_csv" type="data" format="csv" label="Input CSV" /> | 20 <param name="input_csv" type="data" format="csv" label="Input CSV" /> |
| 24 </inputs> | 21 </inputs> |
| 25 | 22 |
| 26 <outputs> | 23 <outputs> |
| 27 <data name="output_pdf" format="pdf" label="SNPs Intersection Report" /> | 24 <data name="output_report" format="html" label="SNPs Intersect output report" /> |
| 28 <data name="output_txt" format="txt" label="SNPs Intersection Combination Report" /> | |
| 29 </outputs> | 25 </outputs> |
| 30 | 26 |
| 31 <tests> | 27 <tests> |
| 32 <test> | 28 <test> |
| 33 <param name="input_vcf" value="sample1.vcf" /> | 29 <param name="input_vcfs" value="test.vcf" /> |
| 34 <output name="output" compare="diff" lines_diff="2" file="sample1.html" ftype="html" /> | 30 <output name="output_report" compare="diff" lines_diff="2" file="report.html" ftype="html" /> |
| 35 </test> | 31 </test> |
| 36 </tests> | 32 </tests> |
| 37 <help><