annotate fgbio_fastq_to_bam.xml @ 2:6137ff37bea1 draft default tip

"planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
author jjohnson
date Thu, 19 Aug 2021 15:11:08 +0000
parents 4635a93ebd91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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[
2
6137ff37bea1 "planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents: 1
diff changeset
9 @LINK_FASTQ_INPUTS@
0
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
10 fgbio FastqToBam
2
6137ff37bea1 "planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents: 1
diff changeset
11 @FASTQ_INPUTS@
0
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
12 --sample='$sample'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
13 --library='$library'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
14 --sort='$sort'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
15 --output '$output'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
16 ## optional bam header content
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
17 #if $bam_header.umi_tag
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
18 --umi-tag='$bam_header.umi_tag'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
19 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
20 #if $bam_header.predicted_insert_size
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
21 --predicted-insert-size='$bam_header.predicted_insert_size'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
22 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
23 #if $bam_header.read_group
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
24 --read-group='$bam_header.read_group'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
25 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
26 #if $bam_header.description
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
27 --description='$bam_header.description'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
28 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
29 #if $bam_header.platform
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
30 --platform='$bam_header.platform'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
31 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
32 #if $bam_header.platform_model
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
33 --platform-model='$bam_header.platform_model'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
34 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
35 #if $bam_header.platform_model
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
36 --platform-model='$bam_header.platform_model'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
37 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
38 #if $bam_header.platform_unit
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
39 --platform-unit='$bam_header.platform_unit'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
40 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
41 #if $bam_header.sequencing_center
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
42 --sequencing-center='$bam_header.sequencing_center'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
43 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
44 #if $bam_header.comment
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
45 --comment='$bam_header.comment'
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
46 #end if
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
47 ]]></command>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
48 <inputs>
2
6137ff37bea1 "planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents: 1
diff changeset
49 <expand macro="fastq_inputs"/>
0
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
50 <param argument="--sample" type="text" value="" label="The name of the sequenced sample">
2
6137ff37bea1 "planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents: 1
diff changeset
51 <validator type="empty_field"/>
0
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
52 </param>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
53 <param argument="--library" type="text" value="" label="The name/ID of the sequenced library">
2
6137ff37bea1 "planemo upload commit 77a5370a0978b5332bb3a9f063588a52a468ea08"
jjohnson
parents: 1
diff changeset
54 <validator type="empty_field"/>
0
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
55 </param>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
56 <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
57 help="If true, queryname sort the BAM file, otherwise preserve input order."/>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
58 <section name="bam_header" title="BAM Header" expanded="false">
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
59 <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
60 <expand macro="sam_tag_validator" />
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
61 </param>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
62 <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
63 <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
64 <param argument="--description" type="text" value="" optional="true" label="Description of the read group"/>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
65 <param argument="--platform" type="text" value="" optional="true" label="Sequencing Platform" help="Default: illumina"/>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
66 <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
67 <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
68 <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
69 <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
70 </section>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
71 </inputs>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
72 <outputs>
1
4635a93ebd91 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents: 0
diff changeset
73 <data name="output" format="bam" >
4635a93ebd91 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents: 0
diff changeset
74 <expand macro="sort_order_change_format" />
4635a93ebd91 "planemo upload commit 692ea558cbbefee93859dc2b005fab5ac4970eb8"
jjohnson
parents: 0
diff changeset
75 </data>
0
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
76 </outputs>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
77 <help><![CDATA[
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
78 **fgbio FastqToBam**
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
79
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
80 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
81
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
82 @READ_STRUCTURES_HELP@
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
83
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
84 http://fulcrumgenomics.github.io/fgbio/tools/latest/FastqToBam.html
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
85 ]]></help>
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
86 <expand macro="citations" />
ee774248788f "planemo upload commit 61f6c8e7f32f170ad7e66e46dd74e8c5d361a722"
jjohnson
parents:
diff changeset
87 </tool>