Mercurial > repos > jjohnson > fgbio_sort_bam
annotate fgbio_sort_bam.xml @ 1:cb58d1961fd3 draft
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
author | jjohnson |
---|---|
date | Wed, 24 Feb 2021 13:02:43 +0000 |
parents | 286e35cf3f1c |
children |
rev | line source |
---|---|
0
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
1 <tool id="fgbio_sort_bam" name="fgbio SortBam" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5"> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
2 <description>Sorts a SAM or BAM file</description> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
3 <macros> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
4 <import>macros.xml</import> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
5 </macros> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
7 <version_command>fgbio --version</version_command> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
1
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
9 fgbio SortBam |
0
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
10 --input '$input' |
1
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
11 #if $sort_order |
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
12 --sort-order=$sort_order |
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
13 #end if |
0
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
14 --output '$output' |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
15 ]]></command> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
16 <inputs> |
1
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
17 <param name="input" type="data" format="unsorted.bam,bam,sam" label="SAM/BAM to sort"/> |
0
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
18 <expand macro="sam_sort_order" /> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
19 </inputs> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
20 <outputs> |
1
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
21 <data name="output" format="unsorted.bam" > |
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
22 <!-- |
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
23 <expand macro="sort_order_change_format" /> |
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
24 --> |
cb58d1961fd3
"planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents:
0
diff
changeset
|
25 </data> |
0
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
26 </outputs> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
27 <help><![CDATA[ |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
28 **fgbio SortBam** |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
29 |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
30 Sorts a SAM or BAM file. Several sort orders are available: |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
31 |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
32 - Coordinate: sorts reads by their reference sequence and left-most aligned coordinate |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
33 - Queryname: sort the reads by their query (i.e. read) name |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
34 - Random: sorts the reads into a random order. The output is deterministic for any given input. and several |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
35 - RandomQuery: sorts the reads into a random order but keeps reads with the same queryname together. The ordering is deterministic for any given input. |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
36 |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
37 http://fulcrumgenomics.github.io/fgbio/tools/latest/SortBam.html |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
38 ]]></help> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
39 <expand macro="citations" /> |
286e35cf3f1c
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
40 </tool> |