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