annotate samtools_cram_to_bam.xml @ 2:a744bb7196a2 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
author iuc
date Thu, 17 Oct 2019 02:17:06 -0400
parents 0637018367e0
children 858ada516d8f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
1 <tool id="samtools_cram_to_bam" name="samtools CRAM to BAM" version="@TOOL_VERSION@">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
2 <description>convert CRAM alignments to BAM format</description>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
3
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
4 <macros>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
5 <import>macros.xml</import>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
6 </macros>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
9 <expand macro="version_command"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
10
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
11 <command><![CDATA[
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
12 #if str( $input_alignment.metadata.cram_index ) != "None":
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
13 ln -f -s '${input_alignment.metadata.cram_index}' '${input_alignment}.crai' &&
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
14 #end if
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
15
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
16 #if $reference_source.reference_source_selector == 'history':
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
17 #set ref_fa = 'ref.fa'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
18 ln -s '${reference_source.input_reference}' ref.fa &&
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
19 #else:
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
20 #set ref_fa = str( $reference_source.input_reference.fields.path )
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
21 #end if
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
22
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
23 samtools view
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
24 #if $parameter_regions.target_region == "regions_bed_file"
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
25 -L '${parameter_regions.regions_bed_file}'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
26 #end if
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
27 -@ \${GALAXY_SLOTS:-2}
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
28 -b
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
29 -T '$ref_fa'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
30 -o '$output_alignment'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
31 '$input_alignment'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
32 #if $parameter_regions.target_region == "region"
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
33 '${parameter_regions.region_string}'
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
34 #end if
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
35 ]]></command>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
36
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
37 <inputs>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
38 <param name="input_alignment" type="data" format="cram" label="CRAM alignment file"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
39 <conditional name="reference_source">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
40 <param name="reference_source_selector" type="select" label="Load reference genome from">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
41 <option value="cached">Local cache</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
42 <option value="history">History</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
43 </param>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
44 <when value="cached">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
45 <param name="input_reference" type="select" label="Reference genome">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
46 <options from_data_table="fasta_indexes">
2
a744bb7196a2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents: 0
diff changeset
47 <filter type="data_meta" ref="input_alignment" key="dbkey" column="dbkey" />
0
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
48 </options>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
49 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
50 </param>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
51 </when>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
52 <when value="history">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
53 <param name="input_reference" type="data" format="fasta" label="Reference FASTA file"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
54 </when>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
55 </conditional>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
56 <conditional name="parameter_regions">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
57 <param name="target_region" type="select" label="Choose conversion within specific genomic region(s)">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
58 <option value="entire_input_file">Entire BAM alignment file</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
59 <option value="region">Specific region</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
60 <option value="regions_bed_file">List of specific regions (BED file)</option>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
61 </param>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
62 <when value="entire_input_file" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
63 <when value="region">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
64 <param name="region_string" type="text" label="Samtools: region in which pileup is generated" help="e.g. chrX or chr:start-end" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
65 </when>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
66 <when value="regions_bed_file">
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
67 <param name="regions_bed_file" argument="-L" type="data" format="bed" label="Only include reads overlapping this BED file" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
68 </when>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
69 </conditional>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
70 </inputs>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
71
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
72 <outputs>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
73 <data name="output_alignment" format="bam" label="$tool.name on ${on_string}.bam"></data>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
74 </outputs>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
75
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
76 <tests>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
77 <test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
78 <param name="input_alignment" value="test.cram" ftype="cram" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
79 <param name="reference_source_selector" value="history" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
80 <param name="input_reference" value="test.fa" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
81
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
82 <output name="output_alignment" file="test.bam" compare="sim_size" delta="250" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
83 </test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
84 <test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
85 <param name="input_alignment" value="test.cram" ftype="cram" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
86 <param name="reference_source_selector" value="history" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
87 <param name="input_reference" value="test.fa" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
88 <param name="target_region" value="region" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
89 <param name="region_string" value="CHROMOSOME_I" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
90
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
91 <output name="output_alignment" file="test.bam" compare="sim_size" delta="250" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
92 </test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
93 <test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
94 <param name="input_alignment" value="test.cram" ftype="cram" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
95 <param name="reference_source_selector" value="history" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
96 <param name="input_reference" value="test.fa" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
97 <param name="target_region" value="regions_bed_file" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
98 <param name="regions_bed_file" value="test.bed" ftype="bed" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
99
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
100 <output name="output_alignment" file="test.bam" compare="sim_size" delta="250" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
101 </test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
102 <test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
103 <param name="input_alignment" value="test2.cram" dbkey="equCab2" ftype="cram" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
104 <param name="reference_source_selector" value="cached" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
105 <param name="input_reference" value="equCab2chrM" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
106 <param name="target_region" value="entire_input_file" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
107 <output name="output_alignment" file="sam_to_bam_out2.bam" compare="sim_size" delta="250" />
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
108 </test>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
109 </tests>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
110
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
111 <help><![CDATA[
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
112 **What this tool does**
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
113
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
114 Converts alignments from the CRAM format to the BAM format using the ``samtools view`` command.
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
115 ]]></help>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
116 <expand macro="citations"/>
0637018367e0 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/cram_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
diff changeset
117 </tool>