comparison crossmap.xml @ 8:9750f8c1d3cb draft

planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/crossmap_galaxy_wrapper commit 8f9242188a8e8e942af6625014a959e70dcb896a-dirty
author yhoogstrate
date Tue, 04 Aug 2015 09:43:29 -0400
parents 39d95e2675f5
children 0cae6e3273a8
comparison
equal deleted inserted replaced
7:cb854f5d6a4b 8:9750f8c1d3cb
3 3
4 <requirements> 4 <requirements>
5 <requirement type="package" version="0.1.9">crossmap</requirement> 5 <requirement type="package" version="0.1.9">crossmap</requirement>
6 </requirements> 6 </requirements>
7 7
8 <stdio></stdio> 8 <stdio>
9 <regex match="Usage: CrossMap.py" source="stdin" level="fatal"/>
10 <regex match="^@ " source="stdin" level="warning" />
11 </stdio>
9 12
10 <command> 13 <command>
11 CrossMap.py 14 CrossMap.py
12 $multiple.input_format 15 $multiple.input_format
13 16
16 "${filter(lambda x: str( x[1] ) == str($multiple.seq_source.input_chain ), $__app__.tool_data_tables['liftOver'].get_fields())[0][2] }" 19 "${filter(lambda x: str( x[1] ) == str($multiple.seq_source.input_chain ), $__app__.tool_data_tables['liftOver'].get_fields())[0][2] }"
17 #else 20 #else
18 "$multiple.seq_source.input_chain" 21 "$multiple.seq_source.input_chain"
19 #end if 22 #end if
20 23
24 <!-- these arguments don't work
21 #if $multiple.input_format == "bam" 25 #if $multiple.input_format == "bam"
22 -m $multiple.insert_size 26 -m $multiple.insert_size
23 -s $multiple.insert_size_stdev 27 -s $multiple.insert_size_stdev
24 -t $multiple.insert_size_fold 28 -t $multiple.insert_size_fold
25 #end if 29 #end if
30 -->
26 31
27 "$multiple.seq_source.input" 32 "$multiple.seq_source.input"
28 33
29 #if $multiple.input_format == "vcf" 34 #if $multiple.input_format == "vcf"
30 "$multiple.seq_source.input_fasta" 35 "$multiple.seq_source.input_fasta"
67 <param type="data" format="bam,sam" name="input" label="BAM/SAM file" /> 72 <param type="data" format="bam,sam" name="input" label="BAM/SAM file" />
68 <param type="data" name="input_chain" label="LiftOver chain file" /> 73 <param type="data" name="input_chain" label="LiftOver chain file" />
69 </when> 74 </when>
70 </conditional> 75 </conditional>
71 76
77 <!-- These parameters don't work
72 <param name="insert_size" type="float" value="200.0" label="Insert size (-m)" help="Average insert size of pair-end sequencing (bp) [default=200.0]" /> 78 <param name="insert_size" type="float" value="200.0" label="Insert size (-m)" help="Average insert size of pair-end sequencing (bp) [default=200.0]" />
73 <param name="insert_size_stdev" type="float" value="30.0" label="Insert size std. dev (-s)" help="Stanadard deviation of insert size. [default=30.0]" /> 79 <param name="insert_size_stdev" type="float" value="30.0" label="Insert size std. dev (-s)" help="Stanadard deviation of insert size. [default=30.0]" />
74 <param name="insert_size_fold" type="float" value="3.0" label="Insert size std. dev foldchange (-t)" help="A mapped pair is considered as 'proper pair' if both ends mapped to different strand and the distance between them is less then '-t' * stdev from the mean. [default=3.0]" /> 80 <param name="insert_size_fold" type="float" value="3.0" label="Insert size std. dev foldchange (-t)" help="A mapped pair is considered as 'proper pair' if both ends mapped to different strand and the distance between them is less then '-t' * stdev from the mean. [default=3.0]" />
81 -->
75 </when> 82 </when>
76 <when value="bed"> 83 <when value="bed">
77 <conditional name="seq_source"> 84 <conditional name="seq_source">
78 <param name="index_source" type="select" label="Source for LiftOver Data (chain file)"> 85 <param name="index_source" type="select" label="Source for LiftOver Data (chain file)">
79 <option value="cached">Local data (in galaxy)</option> 86 <option value="cached">Local data (in galaxy)</option>
234 </when> 241 </when>
235 </conditional> 242 </conditional>
236 </inputs> 243 </inputs>
237 244
238 <outputs> 245 <outputs>
239 <data format="text" name="output" label="Output file"> 246 <data format="text" name="output" label="${tool.name} on ${input.hid}: ${input.name}" />
240 </data>
241 </outputs> 247 </outputs>
242 248
243 <tests> 249 <tests>
244 <test> 250 <test>
245 <param name="input" value="test1.hg19.txt"/> 251 <param name="input" value="test1.hg19.txt"/>
252 <param name="input" value="hg18tohg19.chain"/>
246 <output name="output" file="test1.hg18.txt"/> 253 <output name="output" file="test1.hg18.txt"/>
247 </test> 254 </test>
248 </tests> 255 </tests>
249 256
250 <help> 257 <help>
251 CrossMap is versatile tool to convert genome coordinates or annotation files between genome 258 CrossMap is versatile tool to convert genome coordinates or annotation files between genome
252 assemblies. It supports mostly commonly used file types, including BAM, BED,BigWig, GFF, 259 assemblies. It supports mostly commonly used file types, including BAM, BED,BigWig, GFF,
253 GTF, SAM, Wiggle, and VCF formats. For large plain text file types, such as BED, GFF, GTF 260 GTF, SAM, Wiggle, and VCF formats. For large plain text file types, such as BED, GFF, GTF
254 and VCF, reading from remote servers and file compression are supported. 261 and VCF, reading from remote servers and file compression are supported.
262
263 CrossMap bed
264 ------------
265 BED format file must have at least 3 columns (chrom, start, end) and no more than 12 columns.
266 BED format: http://genome.ucsc.edu/FAQ/FAQformat.html#format1
267
255 </help> 268 </help>
256 269
257 <citations> 270 <citations>
258 <citation type="doi">10.1093/bioinformatics/btt730</citation> 271 <citation type="doi">10.1093/bioinformatics/btt730</citation>
259 </citations> 272 </citations>