Mercurial > repos > iuc > bbtools_bbmap
annotate bbmap.xml @ 2:e0ca2ec4f5d9 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
author | iuc |
---|---|
date | Thu, 11 Nov 2021 16:38:09 +0000 |
parents | 07a6e49c7d74 |
children | 8157a81f511c |
rev | line source |
---|---|
0
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
1 <tool id="bbtools_bbmap" name="BBTools: BBMap" version="@WRAPPER_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
2 <description>short-read aligner</description> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
3 <macros> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
4 <import>macros.xml</import> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
5 </macros> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
7 <command detect_errors="exit_code"><![CDATA[ |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
8 #import os |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
9 #import re |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
10 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
11 #if str($ref_source_cond.ref_source) == 'cached' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
12 #set ref = str($ref_source_cond.reference.fields.path) |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
13 #else: |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
14 #set ref = $ref_source_cond.reference |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
15 #end if |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
16 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
17 #if str($input_type_cond.input_type) in ['single', 'pair']: |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
18 #set read1 = $input_type_cond.read1 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
19 #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1.element_identifier)) |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
20 ## bbmap uses the file extension to determine the input format. |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
21 #set ext = $read1_identifier + '.fastq' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
22 #if $read1.ext.endswith('.gz'): |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
23 #set ext = $ext + '.gz' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
24 #end if |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
25 #set read1_file = $read1_identifier + $ext |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
26 ln -s '${read1}' '${read1_file}' && |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
27 #if str($input_type_cond.input_type) == 'pair': |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
28 #set read2 = $input_type_cond.read2 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
29 #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2.element_identifier)) |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
30 #set read2_file = $read2_identifier + $ext |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
31 ln -s '${read2}' '${read2_file}' && |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
32 #end if |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
33 #else: |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
34 #set read1 = $input_type_cond.reads_collection['forward'] |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
35 #set read1_identifier = re.sub('[^\s\w\-]', '_', str($read1.name)) |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
36 ## bbmap uses the file extension to determine the input format. |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
37 #set ext = $read1_identifier + '.fastq' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
38 #if $read1.ext.endswith('.gz'): |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
39 #set ext = $ext + '.gz' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
40 #end if |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
41 #set read1_file = $read1_identifier + $ext |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
42 ln -s '${read1}' '${read1_file}' && |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
43 #set read2 = $input_type_cond.reads_collection['reverse'] |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
44 #set read2_identifier = re.sub('[^\s\w\-]', '_', str($read2.name)) |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
45 #set read2_file = $read2_identifier + $ext |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
46 ln -s '${read2}' '${read2_file}' && |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
47 #end if |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
48 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
49 bbmap.sh t=\${GALAXY_SLOTS:-4} ref='${ref}' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
50 #if str($input_type_cond.input_type) == 'single': |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
51 in='${read1_file}' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
52 #else: |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
53 in1='${read1_file}' in2='${read2_file}' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
54 #end if |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
55 #if str($output_sort) == 'coordinate': |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
56 out='mapped.bam'; samtools sort -@\${GALAXY_SLOTS:-4} -T "\${TMPDIR:-.}" -O bam -o '$output' 'mapped.bam' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
57 #elif str($output_sort) == 'name': |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
58 out='mapped.bam'; samtools sort -n -@\${GALAXY_SLOTS:-4} -T '\${TMPDIR:-.}' -O bam -o '$output' 'mapped.bam' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
59 #else: |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
60 out='mapped.bam' && mv 'mapped.bam' '$output' |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
61 #end if |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
62 ]]></command> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
63 <inputs> |
2
e0ca2ec4f5d9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit ae31a678eb5c04fb74b94161db95705d597990ad"
iuc
parents:
0
diff
changeset
|
64 <expand macro="input_type_cond"/> |
0
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
65 <expand macro="reference_source_cond"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
66 <param name="output_sort" type="select" label="BAM sorting mode" help="The 'Not sorted' option can significantly extend the run time of the tool (it runs using a single thread)."> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
67 <option value="coordinate" selected="True">Sort by chromosomal coordinates</option> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
68 <option value="name">Sort by read names</option> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
69 <option value="unsorted">Not sorted (sorted as input)</option> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
70 </param> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
71 </inputs> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
72 <outputs> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
73 <data format="bam" name="output" label="${tool.name} on ${on_string} (mapped reads in BAM format)"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
74 <expand macro="dbKeyActionsBBMap"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
75 <change_format> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
76 <when input="output_sort" value="name" format="qname_sorted.bam" /> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
77 <when input="output_sort" value="unsorted" format="qname_input_sorted.bam" /> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
78 </change_format> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
79 </data> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
80 </outputs> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
81 <tests> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
82 <!-- Single file, cached reference, output coordinate sorted --> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
83 <test expect_num_outputs="1"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
84 <param name="input_type" value="single"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
85 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
86 <output name="output" file="output1.bam" ftype="bam" lines_diff="4"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
87 <metadata name="dbkey" value="89" /> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
88 </output> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
89 </test> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
90 <!-- Paired reads in separate datasets, cached reference, output name sorted --> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
91 <test expect_num_outputs="1"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
92 <param name="input_type" value="pair"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
93 <param name="read1" value="13-1941-6_S4_L001_R1_600000.fastq.gz"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
94 <param name="read2" value="13-1941-6_S4_L001_R2_600000.fastq.gz"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
95 <param name="output_sort" value="name"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
96 <output name="output" file="output2.bam" ftype="qname_sorted.bam" lines_diff="4"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
97 <metadata name="dbkey" value="89" /> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
98 </output> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
99 </test> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
100 <!-- Collection of Paired reads, history reference, output unsorted --> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
101 <test expect_num_outputs="1"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
102 <param name="input_type" value="paired"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
103 <param name="reads_collection"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
104 <collection type="paired"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
105 <element name="forward" value="13-1941-6_S4_L001_R1_600000.fastq.gz"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
106 <element name="reverse" value="13-1941-6_S4_L001_R2_600000.fastq.gz"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
107 </collection> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
108 </param> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
109 <param name="ref_source" value="history"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
110 <param name="reference" value="NC_002945v4.fasta" dbkey="89" ftype="fasta"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
111 <param name="output_sort" value="unsorted"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
112 <output name="output" file="output3.bam" ftype="qname_input_sorted.bam" lines_diff="4"> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
113 <metadata name="dbkey" value="89" /> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
114 </output> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
115 </test> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
116 </tests> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
117 <help> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
118 **What it does** |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
119 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
120 BBMap is a splice-aware global aligner for DNA and RNA sequencing reads. It is fast and extremely accurate, particularly |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
121 with highly mutated genomes or reads with long indels, even whole-gene deletions over 100kbp long. It has no upper limit |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
122 to genome size or number of contigs and has been successfully used for mapping to an 85 gigabase soil metagenome with over |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
123 200 million contigs. the indexing phase is very fast compared to other aligners. |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
124 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
125 BBMap can output many different statistics files; an empirical read quality histogram, insert-size distribution, and genome |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
126 coverage with or without generating a sam file. It is useful in quality control of libraries and sequencing runs or |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
127 evaluating new sequencing platforms. |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
128 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
129 **Options** |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
130 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
131 *Bam sorting mode* - the generated bam files can be sorted according to three criteria: coordinates, names and input order. |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
132 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
133 * Sort by chromosomal coordinates - the file is sorted by coordinates (i.e., the reads from the beginning of the first |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
134 chromosome are first in the file. |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
135 * Sort by read names - the file is sorted by the reference ID (i.e., the QNAME field). |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
136 * Not sorted (sorted as input) - the file is sorted in the order of the reads in the input file. |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
137 |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
138 </help> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
139 <expand macro="citations"/> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
140 </tool> |
07a6e49c7d74
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bbtools commit 3682ff4e2e47438e975fc04f92469eca7814fcfa"
iuc
parents:
diff
changeset
|
141 |