comparison read2mut.xml @ 28:afda74e874ac draft

planemo upload for repository https://github.com/Single-Molecule-Genetics/VariantAnalyzerGalaxy/tree/master/tools/variant_analyzer commit ee4a8e6cf290e6c8a4d55f9cd2839d60ab3b11c8
author mheinzl
date Wed, 24 Feb 2021 09:39:24 +0000
parents 5992e30ae50e
children da224c392a54
comparison
equal deleted inserted replaced
27:5992e30ae50e 28:afda74e874ac
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <tool id="read2mut" name="Call specific mutations in reads:" version="2.0.1" profile="19.01"> 2 <tool id="read2mut" name="Call specific mutations in reads:" version="2.0.4" profile="17.01">
3 <description>Looks for reads with mutation at known positions and calculates frequencies and stats.</description> 3 <description>Looks for reads with mutation at known positions and calculates frequencies and stats.</description>
4 <macros> 4 <macros>
5 <import>va_macros.xml</import> 5 <import>va_macros.xml</import>
6 </macros> 6 </macros>
7 <expand macro="requirements"> 7 <expand macro="requirements">
15 --bamFile bam_input.bam 15 --bamFile bam_input.bam
16 --inputJson '$file3' 16 --inputJson '$file3'
17 --sscsJson '$file4' 17 --sscsJson '$file4'
18 --thresh '$thresh' 18 --thresh '$thresh'
19 --phred '$phred' 19 --phred '$phred'
20 --trim '$trim' 20 --trim5 '$trim5'
21 --trim3 '$trim3'
21 $chimera_correction 22 $chimera_correction
22 --outputFile '$output_xlsx' 23 --outputFile '$output_xlsx'
24 --outputFile_csv '$outputFile_csv'
23 --outputFile2 '$output_xlsx2' 25 --outputFile2 '$output_xlsx2'
24 --outputFile3 '$output_xlsx3' 26 --outputFile3 '$output_xlsx3'
25 ]]> 27 ]]>
26 </command> 28 </command>
27 <inputs> 29 <inputs>
29 <param name="file2" type="data" format="bam" label="BAM File of raw reads" optional="false" help="BAM file with aligned raw reads of selected tags."/> 31 <param name="file2" type="data" format="bam" label="BAM File of raw reads" optional="false" help="BAM file with aligned raw reads of selected tags."/>
30 <param name="file3" type="data" format="json" label="JSON File with DCS tag stats" optional="false" help="JSON file generated by DCS mutations to tags/reads"/> 32 <param name="file3" type="data" format="json" label="JSON File with DCS tag stats" optional="false" help="JSON file generated by DCS mutations to tags/reads"/>
31 <param name="file4" type="data" format="json" label="JSON File with SSCS tag stats" optional="false" help="JSON file generated by DCS mutations to SSCS stats."/> 33 <param name="file4" type="data" format="json" label="JSON File with SSCS tag stats" optional="false" help="JSON file generated by DCS mutations to SSCS stats."/>
32 <param name="thresh" type="integer" label="Tag count threshold" value="0" help="Integer threshold for displaying mutations. Only mutations occuring in DCS of less than thresh tags are displayed. Default of 0 displays all."/> 34 <param name="thresh" type="integer" label="Tag count threshold" value="0" help="Integer threshold for displaying mutations. Only mutations occuring in DCS of less than thresh tags are displayed. Default of 0 displays all."/>
33 <param name="phred" type="integer" label="Phred quality score threshold" min="0" max="41" value="20" help="Integer threshold for Phred quality score. Only reads higher than this threshold are considered. Default = 20."/> 35 <param name="phred" type="integer" label="Phred quality score threshold" min="0" max="41" value="20" help="Integer threshold for Phred quality score. Only reads higher than this threshold are considered. Default = 20."/>
34 <param name="trim" type="integer" label="Trimming threshold" value="10" help="Integer threshold for assigning mutations at start and end of reads to lower tier. Default 10."/> 36 <param name="trim5" type="integer" label="Trimming threshold at 5' end" value="10" help="Integer threshold for assigning mutations at the beginning of reads to lower tier. Default 10."/>
37 <param name="trim3" type="integer" label="Trimming threshold at 3' end" value="10" help="Integer threshold for assigning mutations at the end of reads to lower tier. Default 10."/>
35 <param name="chimera_correction" type="boolean" label="Apply chimera correction?" truevalue="--chimera_correction" falsevalue="" checked="False" help="Count chimeric variants and correct the variant frequencies."/> 38 <param name="chimera_correction" type="boolean" label="Apply chimera correction?" truevalue="--chimera_correction" falsevalue="" checked="False" help="Count chimeric variants and correct the variant frequencies."/>
36 </inputs> 39 </inputs>
37 <outputs> 40 <outputs>
38 <data name="output_xlsx" format="xlsx" label="${tool.name} on ${on_string}: XLSX summary"/> 41 <data name="output_xlsx" format="xlsx" label="${tool.name} on ${on_string}: XLSX summary"/>
42 <data name="outputFile_csv" format="csv" label="${tool.name} on ${on_string}: CSV summary"/>
39 <data name="output_xlsx2" format="xlsx" label="${tool.name} on ${on_string}: XLSX allele frequencies"/> 43 <data name="output_xlsx2" format="xlsx" label="${tool.name} on ${on_string}: XLSX allele frequencies"/>
40 <data name="output_xlsx3" format="xlsx" label="${tool.name} on ${on_string}: XLSX tiers"/> 44 <data name="output_xlsx3" format="xlsx" label="${tool.name} on ${on_string}: XLSX tiers"/>
41 </outputs> 45 </outputs>
42 <tests> 46 <tests>
43 <test> 47 <test>
45 <param name="file2" value="Interesting_Reads_test.trim.bam"/> 49 <param name="file2" value="Interesting_Reads_test.trim.bam"/>
46 <param name="file3" value="tag_count_dict_test.json"/> 50 <param name="file3" value="tag_count_dict_test.json"/>
47 <param name="file4" value="SSCS_counts_test.json"/> 51 <param name="file4" value="SSCS_counts_test.json"/>
48 <param name="thresh" value="0"/> 52 <param name="thresh" value="0"/>
49 <param name="phred" value="20"/> 53 <param name="phred" value="20"/>
50 <param name="trim" value="10"/> 54 <param name="trim5" value="10"/>
51 <param name="chimera_correction" value="True"/> 55 <param name="trim3" value="10"/>
56 <param name="delim_csv" value=","/>
52 <output name="output_xlsx" file="Variant_Analyzer_summary_test.xlsx" decompress="true" lines_diff="10"/> 57 <output name="output_xlsx" file="Variant_Analyzer_summary_test.xlsx" decompress="true" lines_diff="10"/>
58 <output name="outputFile_csv" file="Variant_Analyzer_summary_test.csv" decompress="true" lines_diff="10"/>
53 <output name="output_xlsx2" file="Variant_Analyzer_allele_frequencies_test.xlsx" decompress="true" lines_diff="10"/> 59 <output name="output_xlsx2" file="Variant_Analyzer_allele_frequencies_test.xlsx" decompress="true" lines_diff="10"/>
54 <output name="output_xlsx3" file="Variant_Analyzer_tiers_test.xlsx" decompress="true" lines_diff="10"/> 60 <output name="output_xlsx3" file="Variant_Analyzer_tiers_test.xlsx" decompress="true" lines_diff="10"/>
55 </test> 61 </test>
56 </tests> 62 </tests>
57 <help> <![CDATA[ 63 <help> <![CDATA[