annotate bamtools.xml @ 3:04866f817daa draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
author devteam
date Wed, 18 Jan 2017 11:47:11 -0500
parents ea3fc1adee75
children 4d343c1f606b
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"?>
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
2 <tool id="bamtools" name="Convert, Merge, Randomize" version="2.4.0">
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>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
4 <requirements>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
5 <requirement type="package" version="2.4.0">bamtools</requirement>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
6 <requirement type="package" version="1.3.1">samtools</requirement>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
7 </requirements>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
8 <stdio>
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 <exit_code range="1:" />
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 </stdio>
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
11 <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
12 <![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
13 ##set up input files
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
14 #for $bam_count, $input_bam in enumerate( $input_bams ):
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
15 ln -s "${input_bam}" "localbam_${bam_count}.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
16 ln -s "${input_bam.metadata.bam_index}" "localbam_${bam_count}.bam.bai" &&
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
17 #end for
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
18 #if str( $analysis_type.analysis_type_selector ) == "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
19 #if str( $analysis_type.format_type.format_type_selector ) == "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
20 #set $reference_fasta_filename = "localref.fa"
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 #if str( $analysis_type.format_type.reference_source.reference_source_selector ) == "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
22 ln -s "${analysis_type.format_type.reference_source.ref_file}" "${reference_fasta_filename}" &&
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 samtools faidx "${reference_fasta_filename}" 2>&1 || echo "Error running samtools faidx for bamtools convert" >&2 &&
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 #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
25 #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
26 #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
27 #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
28 #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
29 bamtools
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
30 #if str( $analysis_type.analysis_type_selector ) == "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
31 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
32 -format ${analysis_type.format_type.format_type_selector}
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 #if str( $analysis_type.format_type.format_type_selector ) == "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
34 ${analysis_type.format_type.mapqual}
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
35 -fasta "${reference_fasta_filename}"
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 #elif str( $analysis_type.format_type.format_type_selector ) == "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
37 ${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
38 #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
39 -out $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
40 #elif str( $analysis_type.analysis_type_selector ) == "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
41 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
42 > $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
43 #elif str( $analysis_type.analysis_type_selector ) == "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
44 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
45 -out $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
46 #elif str( $analysis_type.analysis_type_selector ) == "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
47 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
48 > $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
49 #elif str( $analysis_type.analysis_type_selector ) == "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
50 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
51 -out $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
52 #elif str( $analysis_type.analysis_type_selector ) == "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
53 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
54 -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
55 -seed ${analysis_type.seed}
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
56 -out $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
57 #elif str( $analysis_type.analysis_type_selector ) == "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
58 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
59 ${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
60 ${analysis_type.keepQualities}
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 -out $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
62 #elif str( $analysis_type.analysis_type_selector ) == "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
63 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
64 ${analysis_type.byname}
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 -out $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
66 #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
67 #for $bam_count, $input_bam in enumerate( $input_bams ):
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 -in "localbam_${bam_count}.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
69 #end for
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 ]]>
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 </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
72 <inputs>
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 <param name="input_bams" type="data" format="bam" label="BAM dataset(s) to filter" min="1" multiple="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
74 <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
75 <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
76 <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
77 <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
78 <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
79 <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
80 <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
81 <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
82 <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
83 <!-- 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
84 <!-- 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
85 <!-- 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
86 <!-- <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
87 </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
88 <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
89 <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
90 <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
91 <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
92 <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
93 <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
94 <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
95 <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
96 <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
97 <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
98 </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
99 <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
100 <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
101 <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
102 <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
103 <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
104 <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
105 <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
106 <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
107 <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
108 <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
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 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
111 <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
112 <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
113 <!--<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
114 </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
115 <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
116 </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
117 </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
118 <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
119 <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
120 </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
121 </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
122 <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
123 </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
124 <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
125 <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
126 </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
127 </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
128 </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
129 <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
130 <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
131 <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
132 <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
133 <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
134 <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
135 <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
136 </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
137 <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
138 <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
139 <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
140 </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
141 <!--
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 <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
143 <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
144 </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
145 -->
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
146 </conditional>
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
147 </inputs>
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
148 <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
149 <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
150 <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
151 <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
152 <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
153 <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
154 <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
155 <when input="analysis_type.format_type.format_type_selector" value="pileup" format="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
156 <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
157 <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
158 <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
159 <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
160 <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
161 </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
162 </data>
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
163 </outputs>
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
164 <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
165 <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
166 <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
167 <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
168 <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
169 <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
170 <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
171 <param name="ref_file" ftype="fasta" value="bamtools-fasta.fa"/>
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 <output name="output_bam" file="bamtools-convert-pileup.pu" />
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 <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
175 <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
176 <param name="analysis_type_selector" 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
177 <output name="output_bam" file="bamtools-count.tab" />
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 <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
180 <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
181 <param name="analysis_type_selector" 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
182 <output name="output_bam" file="bamtools-coverage.tab" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
183 </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
184 <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
185 <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
186 <param name="analysis_type_selector" 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
187 <output name="output_bam" file="bamtools-header.txt" />
04866f817daa planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/bamtools/bamtools commit ddee21fa767f3234a4e5a9acfeeabdded32e7d01
devteam
parents: 2
diff changeset
188 </test>
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
189 </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
190 <help>
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
191
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
192 **What is does**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
193
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
194 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
195 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
196
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
197 -----
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
198
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
199 **Convert**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
200
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
201 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
202 cashed at this Galaxy instance, or provided by you as a FASTA dataset from History.
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 **Count**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
207
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
208 Counts a number of alignments in a BAM dataset(s).
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 **Coverage**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
213
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
214 Prints per-base coverage for a BAM dataset.
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 **Header**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
219
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
220 Prints header from a BAM dataset(s).
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 **Merge**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
225
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
226 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
227
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
228 ------
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
229
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
230 **Random**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
231
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
232 Grabs a specified number of random lines from BAM dataset(s).
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 **Revert**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
237
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
238 Removes duplicate marks and restores original (non-recalibrated) base qualities.
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
239
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
240 -----
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
241
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
242 .. class:: infomark
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
243
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
244 **More information**
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
245
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
246 Additional information about BAMtools can be found at https://github.com/pezmaster31/bamtools/wiki
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
247
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
248 </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
249 <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
250 <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
251 </citations>
0
76b2f1eee508 Uploaded
devteam
parents:
diff changeset
252 </tool>