comparison sniffles.xml @ 0:ee65e517769d draft

planemo upload for repository https://github.com/youyuh48/galaxy-tools/tree/master/tools/sniffles
author youyuh48
date Sun, 25 Aug 2019 01:58:51 -0400
parents
children ba3aaae7a229
comparison
equal deleted inserted replaced
-1:000000000000 0:ee65e517769d
1 <tool id="sniffles" name="sniffles" version="0.1.0">
2 <description>Structural variation caller using third generation sequencing</description>
3 <requirements>
4 <requirement type="package" version="1.0.11">sniffles</requirement>
5 </requirements>
6 <command detect_errors="exit_code">
7 <![CDATA[
8 sniffles
9 -t \${GALAXY_SLOTS:-2}
10 -m '$input'
11 --${output_format} '$output'
12 ## general_options
13 #if $general_options.s:
14 -s $general_options.s
15 #end if
16 #if $general_options.max_num_splits:
17 --max_num_splits $max_num_splits
18 #end if
19 #if $general_options.l:
20 -l $general_options.l
21 #end if
22 #if $general_options.q:
23 -q $general_options.q
24 #end if
25 #if $general_options.n:
26 -n $general_options.n
27 #end if
28 #if $general_options.r:
29 -r $general_options.r
30 #end if
31 ]]>
32 </command>
33 <inputs>
34 <param type="data" name="input" format="bam" label="Input BAM file"/>
35 <param name="output_format" type="select" label="Select an output format">
36 <option value="vcf">VCF</option>
37 <option value="bedpe">bedpe</option>
38 </param>
39 <section name="general_options" title="Set general options" expanded="False">
40 <param argument="-s" type="integer" value="" optional="true" label="Minimum number of reads that support a SV. [10]"/>
41 <param argument="--max_num_splits" name="max_num_splits" type="integer" value="" optional="true" label="Maximum number of splits per read to be still taken into account. [7]"/>
42 <param argument="-l" type="integer" value="" optional="true" label="Minimum length of SV to be reported. [30]"/>
43 <param argument="-q" type="integer" value="" optional="true" label="Minimum Mapping Quality. [20]"/>
44 <param argument="-n" type="integer" value="" optional="true" label="Report up to N reads that support the SV in the vcf file. -1: report all. [0]"/>
45 <param argument="-r" type="integer" value="" optional="true" label="Discard read if non of its segment is larger then this. [2000]"/>
46 </section>
47 </inputs>
48 <outputs>
49 <data name="output" format="vcf" label="${tool.name} on ${on_string} (${output_format} format)">
50 <change_format>
51 <when input="output_format" value="bedpe" format="tabular"/>
52 </change_format>
53 </data>
54 </outputs>
55 <tests>
56 <test>
57 <param name="input" value="reads_region.bam"/>
58 <param name="option" value="--vcf"/>
59 <output name="output" file="expected_output.vcf"/>
60 </test>
61 </tests>
62 <help>
63 <![CDATA[
64 Usage: sniffles [options] -m <sorted.bam> -v <output.vcf>
65
66 Input/Output:
67 -m <string>, --mapped_reads <string>
68 (required) Sorted bam File
69 -v <string>, --vcf <string>
70 VCF output file name []
71 -b <string>, --bedpe <string>
72 bedpe output file name []
73 \--Ivcf <string>
74 Input VCF file name. Enable force calling []
75 \--tmp_file <string>
76 path to temporary file otherwise Sniffles will use the current directory. []
77
78 General:
79 -s <int>, --min_support <int>
80 Minimum number of reads that support a SV. [10]
81 \--max_num_splits <int>
82 Maximum number of splits per read to be still taken into account. [7]
83 -d <int>, --max_distance <int>
84 Maximum distance to group SV together. [1000]
85 -t <int>, --threads <int>
86 Number of threads to use. [3]
87 -l <int>, --min_length <int>
88 Minimum length of SV to be reported. [30]
89 -q <int>, --minmapping_qual <int>
90 Minimum Mapping Quality. [20]
91 -n <int>, --num_reads_report <int>
92 Report up to N reads that support the SV in the vcf file. -1: report all. [0]
93 -r <int>, --min_seq_size <int>
94 Discard read if non of its segment is larger then this. [2000]
95 -z <int>, --min_zmw <int>
96 Discard SV that are not supported by at least x zmws. This applies only for PacBio recognizable reads. [0]
97 \--cs_string
98 Enables the scan of CS string instead of Cigar and MD. [false]
99
100 Clustering/phasing and genotyping:
101 \--genotype
102 Enables Sniffles to compute the genotypes. [false]
103 \--cluster
104 Enables Sniffles to phase SVs that occur on the same reads [false]
105 \--cluster_support <int>
106 Minimum number of reads supporting clustering of SV. [1]
107 -f <float>, --allelefreq <float>
108 Threshold on allele frequency (0-1). [0]
109 \--min_homo_af <float>
110 Threshold on allele frequency (0-1). [0.8]
111 \--min_het_af <float>
112 Threshold on allele frequency (0-1). [0.3]
113
114 Advanced:
115 \--report_BND
116 Dont report BND instead use Tra in vcf output. [true]
117 \--report_seq
118 Report sequences for indels in vcf output. (Beta version!) [false]
119 \--ignore_sd
120 Ignores the sd based filtering. [false]
121 \--report_read_strands
122 Enables the report of the strand categories per read. (Beta) [false]
123 \--ccs_reads
124 Preset CCS Pacbio setting. (Beta) [false]
125
126 Parameter estimation:
127 \--skip_parameter_estimation
128 Enables the scan if only very few reads are present. [false]
129 \--del_ratio <float>
130 Estimated ration of deletions per read (0-1). [0.0458369]
131 \--ins_ratio <float>
132 Estimated ratio of insertions per read (0-1). [0.049379]
133 \--max_diff_per_window <int>
134 Maximum differences per 100bp. [50]
135 \--max_dist_aln_events <int>
136 Maximum distance between alignment (indel) events. [4]
137 ]]>
138 </help>
139 <citations>
140 <citation type="doi">10.1038/s41592-018-0001-7</citation>
141 </citations>
142 </tool>