Mercurial > repos > jjohnson > fgbio_fastq_to_bam
annotate fgbio_fastq_to_bam.xml @ 0:ee774248788f draft
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
author | jjohnson |
---|---|
date | Sun, 21 Feb 2021 23:40:09 +0000 |
parents | |
children | 4635a93ebd91 |
rev | line source |
---|---|
0
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
1 <tool id="fgbio_fastq_to_bam" name="fgbio FastqToBam" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" python_template_version="3.5"> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
2 <description>Generates an unmapped BAM file from fastq files</description> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
3 <macros> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
4 <import>macros.xml</import> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
5 </macros> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
6 <expand macro="requirements" /> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
7 <version_command>fgbio --version</version_command> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
8 <command detect_errors="exit_code"><![CDATA[ |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
9 fgbio FastqToBam |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
10 --input |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
11 #for $input in $inputs |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
12 '$input' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
13 #end for |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
14 --sample='$sample' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
15 --library='$library' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
16 #if $read_structures: |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
17 --read-structures $read_structures |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
18 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
19 --sort='$sort' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
20 --output '$output' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
21 ## optional bam header content |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
22 #if $bam_header.umi_tag |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
23 --umi-tag='$bam_header.umi_tag' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
24 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
25 #if $bam_header.predicted_insert_size |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
26 --predicted-insert-size='$bam_header.predicted_insert_size' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
27 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
28 #if $bam_header.read_group |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
29 --read-group='$bam_header.read_group' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
30 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
31 #if $bam_header.description |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
32 --description='$bam_header.description' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
33 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
34 #if $bam_header.platform |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
35 --platform='$bam_header.platform' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
36 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
37 #if $bam_header.platform_model |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
38 --platform-model='$bam_header.platform_model' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
39 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
40 #if $bam_header.platform_model |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
41 --platform-model='$bam_header.platform_model' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
42 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
43 #if $bam_header.platform_unit |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
44 --platform-unit='$bam_header.platform_unit' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
45 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
46 #if $bam_header.sequencing_center |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
47 --sequencing-center='$bam_header.sequencing_center' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
48 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
49 #if $bam_header.comment |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
50 --comment='$bam_header.comment' |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
51 #end if |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
52 ]]></command> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
53 <inputs> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
54 <param name="inputs" type="data" format="fastq" multiple="true" label="Fastq files corresponding to each sequencing read"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
55 <param argument="--sample" type="text" value="" label="The name of the sequenced sample"> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
56 </param> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
57 <param argument="--library" type="text" value="" label="The name/ID of the sequenced library"> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
58 </param> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
59 <param argument="--read-structures" type="text" value="" optional="true" label="Read structures, one for each of the FASTQ"> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
60 <expand macro="read_structures_validator" /> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
61 </param> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
62 <param argument="--sort" type="boolean" truevalue="true" falsevalue="false" checked="false" label="Sort bam by queryname" |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
63 help="If true, queryname sort the BAM file, otherwise preserve input order."/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
64 <section name="bam_header" title="BAM Header" expanded="false"> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
65 <param argument="--umi-tag" type="text" value="" optional="true" label="Tag in which to store molecular barcodes/UMIs" help="Default: RX"> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
66 <expand macro="sam_tag_validator" /> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
67 </param> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
68 <param argument="--predicted-insert-size" type="integer" value="" optional="true" label="Predicted median insert size, to insert into the read group header"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
69 <param argument="--read-group" type="text" value="" optional="true" label="Read group ID to use in the file header" help="Default: A"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
70 <param argument="--description" type="text" value="" optional="true" label="Description of the read group"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
71 <param argument="--platform" type="text" value="" optional="true" label="Sequencing Platform" help="Default: illumina"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
72 <param argument="--platform-model" type="text" value="" optional="true" label="Platform model to insert into the group header (ex. miseq, hiseq2500, hiseqX)"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
73 <param argument="--platform-unit" type="text" value="" optional="true" label="Platform unit (e.g. 'flowcell-barcode.lane.sample-barcode')"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
74 <param argument="--sequencing-center" type="text" value="" optional="true" label="The sequencing center from which the data originated"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
75 <param argument="--comment" type="text" value="" optional="true" label="Comment to include in the output header"/> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
76 </section> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
77 </inputs> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
78 <outputs> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
79 <data name="output" format="unsorted.bam" /> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
80 </outputs> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
81 <help><![CDATA[ |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
82 **fgbio FastqToBam** |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
83 |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
84 Generates an unmapped BAM (or SAM or CRAM) file from fastq files. Takes in one or more fastq files (optionally gzipped), each representing a different sequencing read (e.g. R1, R2, I1 or I2) and can use a set of read structures to allocate bases in those reads to template reads, sample indices, unique molecular indices, or to designate bases to be skipped over. |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
85 |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
86 @READ_STRUCTURES_HELP@ |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
87 |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
88 http://fulcrumgenomics.github.io/fgbio/tools/latest/FastqToBam.html |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
89 ]]></help> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
90 <expand macro="citations" /> |
ee774248788f
"planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff
changeset
|
91 </tool> |