annotate bamtools.xml @ 5:befc9dad4ca8 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 1cacd14cfb2429fefa91fdd05c82d2e36d23283a"
author iuc
date Sat, 27 Nov 2021 10:02:03 +0000
parents 4d343c1f606b
children e4490b16f0d7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
1 <?xml version="1.0"?>
5
befc9dad4ca8 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 1cacd14cfb2429fefa91fdd05c82d2e36d23283a"
iuc
parents: 4
diff changeset
2 <tool id="bamtools" name="Convert, Merge, Randomize" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
3 <description>BAM datasets and perform other transformations</description>
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
4 <macros>
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
5 <import>macros.xml</import>
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
6 </macros>
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
7 <expand macro="requirements" />
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
8 <command detect_errors="exit_code">
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
9 <![CDATA[
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
10 ##set up input files
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
11 ln -s '${input_bams}' localbam.bam &&
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
12 ln -s '${input_bams.metadata.bam_index}' localbam.bam.bai &&
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
13 #if str( $analysis_type.analysis_type_selector ) == 'convert':
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
14 #if str( $analysis_type.format_type.format_type_selector ) == 'pileup':
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
15 #set $reference_fasta_filename = 'localref.fa'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
16 #if str( $analysis_type.format_type.reference_source.reference_source_selector ) == 'history':
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
17 ln -s '${analysis_type.format_type.reference_source.ref_file}' '${reference_fasta_filename}' &&
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
18 samtools faidx '${reference_fasta_filename}' 2>&1 || echo 'Error running samtools faidx for bamtools convert' >&2 &&
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
19 #else:
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
20 #set $reference_fasta_filename = str( $analysis_type.format_type.reference_source.ref_file.fields.path )
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
21 #end if
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
22 #end if
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
23 #end if
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
24 bamtools
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
25 #if str( $analysis_type.analysis_type_selector ) == 'convert':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
26 convert
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
27 -format ${analysis_type.format_type.format_type_selector}
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
28 #if str( $analysis_type.format_type.format_type_selector ) == 'pileup':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
29 ${analysis_type.format_type.mapqual}
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
30 -fasta '${reference_fasta_filename}'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
31 #elif str( $analysis_type.format_type.format_type_selector ) == 'sam':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
32 ${analysis_type.format_type.noheader}
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
33 #end if
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
34 -out '$out_file1'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
35 #elif str( $analysis_type.analysis_type_selector ) == 'count':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
36 count
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
37 > '$out_file1'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
38 #elif str( $analysis_type.analysis_type_selector ) == 'coverage':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
39 coverage
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
40 -out '$out_file1'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
41 #elif str( $analysis_type.analysis_type_selector ) == 'header':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
42 header
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
43 > '$out_file1'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
44 #elif str( $analysis_type.analysis_type_selector ) == 'merge':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
45 merge
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
46 -out '$out_file1'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
47 #elif str( $analysis_type.analysis_type_selector ) == 'random':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
48 random
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
49 -n ${analysis_type.count}
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
50 -seed ${analysis_type.seed}
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
51 -out '$out_file1'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
52 #elif str( $analysis_type.analysis_type_selector ) == 'revert':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
53 revert
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
54 ${analysis_type.keepDuplicate}
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
55 ${analysis_type.keepQualities}
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
56 -out '$out_file1'
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
57 #elif str( $analysis_type.analysis_type_selector ) == 'sort':
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
58 sort
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
59 ${analysis_type.byname}
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
60 -out '$out_file1'
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
61 #end if
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
62 -in localbam.bam
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
63 ]]>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
64 </command>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
65 <inputs>
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
66 <param name="input_bams" type="data" format="bam" label="BAM dataset(s) to filter" />
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
67 <conditional name="analysis_type">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
68 <param name="analysis_type_selector" type="select" label="Select BAM manipulation" help="See help below for detailed description of each tool">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
69 <option value="convert">Convert</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
70 <option value="count">Count</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
71 <option value="coverage">Coverage</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
72 <option value="header">Header</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
73 <option value="merge">Merge</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
74 <option value="random">Random</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
75 <option value="revert">Revert</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
76 <!-- The sort option below is commented out as BAM files in Galaxy are reference sorted by dafault. -->
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
77 <!-- Allowing users for sort files may break donstream functionality. -->
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
78 <!-- To enable sort option simply uncomment the line below: -->
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
79 <!-- <option value="sort">Sort</option> -->
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
80 </param>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
81 <when value="convert">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
82 <conditional name="format_type">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
83 <param name="format_type_selector" type="select" help="Select what to convert your BAM to">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
84 <option value="bed">BED</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
85 <option value="fasta">FASTA</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
86 <option value="fastq">FASTQ</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
87 <option value="json">JSON</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
88 <option value="pileup">Pileup</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
89 <option value="sam">SAM</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
90 <option value="yaml">YAML</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
91 </param>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
92 <when value="bed"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
93 <when value="fasta"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
94 <when value="fastq"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
95 <when value="json"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
96 <when value="yaml"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
97 <when value="pileup">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
98 <conditional name="reference_source">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
99 <param name="reference_source_selector" type="select" label="Choose the source for the reference list">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
100 <option value="cached">Locally cached</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
101 <option value="history">History</option>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
102 </param>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
103 <when value="cached">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
104 <param name="ref_file" type="select" label="Using reference genome">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
105 <options from_data_table="sam_fa_indexes">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
106 <!--<filter type="data_meta" key="dbkey" ref="input_bam" column="value"/>-->
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
107 </options>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
108 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
109 </param>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
110 </when>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
111 <when value="history"> <!-- FIX ME!!!! -->
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
112 <param name="ref_file" type="data" format="fasta" label="Using reference file" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
113 </when>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
114 </conditional>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
115 <param name="mapqual" type="boolean" truevalue="-mapqual" falsevalue="" label="Print quality scores?" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
116 </when>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
117 <when value="sam">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
118 <param name="noheader" type="boolean" truevalue="-noheader" falsevalue="" label="Do not print header" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
119 </when>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
120 </conditional>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
121 </when>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
122 <when value="count" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
123 <when value="coverage" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
124 <when value="header" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
125 <when value="merge" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
126 <when value="random">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
127 <param name="count" type="integer" value="10000" label="Number of random alignments to grab" help="No duplicate checking is perfomed" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
128 <param name="seed" type="integer" value="1024" label="Random number generator seed" help="Use the same seed for reproducible results" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
129 </when>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
130 <when value="revert">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
131 <param name="keepDuplicate" type="boolean" truevalue="-keepDuplicate" falsevalue="" label="Keep duplicates marked" help="Do not remove duplicate marks" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
132 <param name="keepQualities" type="boolean" truevalue="-keepQualities" falsevalue="" label="Keep base qualities" help="Do not replace qualities with contect of OQ tag" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
133 </when>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
134 <!--
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
135 <when value="sort">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
136 <param name="byname" type="boolean" truevalue="-byname" falsevalue="" label="Sort by name" help="Checked: sort by name; Unchecked: sort by coordinate"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
137 </when>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
138 -->
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
139 </conditional>
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
140 </inputs>
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
141 <outputs>
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
142 <data format="txt" name="out_file1">
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
143 <change_format>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
144 <when input="analysis_type.format_type.format_type_selector" value="bed" format="bed" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
145 <when input="analysis_type.format_type.format_type_selector" value="fasta" format="fasta" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
146 <when input="analysis_type.format_type.format_type_selector" value="fastq" format="fastq" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
147 <when input="analysis_type.format_type.format_type_selector" value="sam" format="sam" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
148 <when input="analysis_type.format_type.format_type_selector" value="pileup" format="pileup" />
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
149 <when input="analysis_type.analysis_type_selector" value="count" format="tabular" />
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
150 <when input="analysis_type.analysis_type_selector" value="coverage" format="tabular" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
151 <when input="analysis_type.analysis_type_selector" value="merge" format="bam" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
152 <when input="analysis_type.analysis_type_selector" value="random" format="bam" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
153 <when input="analysis_type.analysis_type_selector" value="revert" format="bam" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
154 <when input="analysis_type.analysis_type_selector" value="sort" format="bam" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
155 </change_format>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
156 </data>
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
157 </outputs>
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
158 <tests>
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
159 <test>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
160 <param name="input_bams" ftype="bam" value="bamtools-input1.bam"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
161 <param name="analysis_type_selector" value="convert"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
162 <param name="format_type_selector" value="pileup"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
163 <param name="reference_source_selector" value="history" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
164 <param name="mapqual" value="true" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
165 <param name="ref_file" ftype="fasta" value="bamtools-fasta.fa"/>
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
166 <output name="out_file1" file="bamtools-convert-pileup.pu" />
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
167 </test>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
168 <test>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
169 <param name="input_bams" ftype="bam" value="bamtools-input1.bam"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
170 <param name="analysis_type_selector" value="count"/>
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
171 <output name="out_file1" file="bamtools-count.tab" />
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
172 </test>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
173 <test>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
174 <param name="input_bams" ftype="bam" value="bamtools-input1.bam"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
175 <param name="analysis_type_selector" value="coverage"/>
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
176 <output name="out_file1" file="bamtools-coverage.tab" />
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
177 </test>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
178 <test>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
179 <param name="input_bams" ftype="bam" value="bamtools-input1.bam"/>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
180 <param name="analysis_type_selector" value="header"/>
4
4d343c1f606b "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/bamtools/bamtools commit 5ecb0de2196e69548d74a88a4e3c1095ca9bfd16"
iuc
parents: 3
diff changeset
181 <output name="out_file1" file="bamtools-header.txt" />
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
182 </test>
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
183 </tests>
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
184 <help>
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
185
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
186 **What is does**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
187
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
188 BAMTools is a collection of utilities for manipulation on BAM files. It is based on BAMtools suite of tools by Derek Barnett (https://github.com/pezmaster31/bamtools).
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
189 This Galaxy implementation of BAMTools utilities includes seven utilities - Convert, Count, Coverage, Header, Merge, Random, and Revert - decsribed in detail below.
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
190
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
191 -----
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
192
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
193 **Convert**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
194
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
195 Converts BAM dataset(s) into BED, FASTA, FASTQ, JSON, Pileup, SAM, or YAML formats. Note that the conversion to the pileup format requires providing a reference sequence either
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
196 cashed at this Galaxy instance, or provided by you as a FASTA dataset from History.
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
197
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
198 -----
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
199
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
200 **Count**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
201
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
202 Counts a number of alignments in a BAM dataset(s).
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
203
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
204 -----
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
205
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
206 **Coverage**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
207
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
208 Prints per-base coverage for a BAM dataset.
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
209
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
210 -----
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
211
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
212 **Header**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
213
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
214 Prints header from a BAM dataset(s).
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
215
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
216 ------
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
217
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
218 **Merge**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
219
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
220 Merges multiple BAM datasets into a single one. Obviously, you need to select multiple BAMs as input, which is done by pressing the "**Add new BAM dataset(s) to filter**" button.
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
221
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
222 ------
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
223
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
224 **Random**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
225
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
226 Grabs a specified number of random lines from BAM dataset(s).
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
227
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
228 ------
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
229
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
230 **Revert**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
231
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
232 Removes duplicate marks and restores original (non-recalibrated) base qualities.
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
233
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
234 -----
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
235
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
236 .. class:: infomark
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
237
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
238 **More information**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
239
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
240 Additional information about BAMtools can be found at https://github.com/pezmaster31/bamtools/wiki
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
241
3
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
242 </help>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
243 <citations>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
244 <citation type="doi">10.1093/bioinformatics/btr174</citation>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
245 </citations>
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
246 </tool>