comparison bowtie2_wrapper.xml @ 31:0d4acadabb04 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bowtie2 commit f25b49ba5f2f3e5542e75224948818c32dea920a
author iuc
date Mon, 26 Feb 2024 08:50:20 +0000
parents 03e9b2fbc005
children d5ceb9f3c25b
comparison
equal deleted inserted replaced
30:03e9b2fbc005 31:0d4acadabb04
1 <tool id="bowtie2" name="Bowtie2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.05"> 1 <tool id="bowtie2" name="Bowtie2" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="22.05">
2 <description>- map reads against reference genome</description> 2 <description>- map reads against reference genome</description>
3 <macros> 3 <macros>
4 <import>bowtie2_macros.xml</import> 4 <import>bowtie2_macros.xml</import>
5 </macros> 5 </macros>
6 <xrefs> 6 <xrefs>
7 <xref type="bio.tools">bowtie2</xref> 7 <xref type="bio.tools">bowtie2</xref>
8 </xrefs> 8 </xrefs>
9 <requirements> 9 <requirements>
10 <requirement type="package" version="@TOOL_VERSION@">bowtie2</requirement> 10 <requirement type="package" version="@TOOL_VERSION@">bowtie2</requirement>
11 <requirement type="package" version="1.16.1">samtools</requirement> 11 <requirement type="package" version="1.19.2">samtools</requirement>
12 </requirements> 12 </requirements>
13 <version_command>bowtie2 --version</version_command> 13 <version_command>bowtie2 --version</version_command>
14 <command detect_errors="exit_code"><![CDATA[ 14 <command detect_errors="exit_code"><![CDATA[
15 ## Use pipefail if available to quit with first non-zero exit code 15 ## Use pipefail if available to quit with first non-zero exit code
16 set -o | grep -q pipefail && set -o pipefail; 16 set -o | grep -q pipefail && set -o pipefail;
66 #set reads_are_fastq = False 66 #set reads_are_fastq = False
67 #set read1 = "input_f.fasta" 67 #set read1 = "input_f.fasta"
68 #else: 68 #else:
69 #set read1 = "input_f.fastq" 69 #set read1 = "input_f.fastq"
70 #end if 70 #end if
71 ln -s '${library.input_1.forward}' ${read1} && 71 ln -f -s '${library.input_1.forward}' ${read1} &&
72 72
73 #if $library.input_1.reverse.is_of_type("fastq.gz", "fastqsanger.gz"): 73 #if $library.input_1.reverse.is_of_type("fastq.gz", "fastqsanger.gz"):
74 #set read2 = "input_r.fastq.gz" 74 #set read2 = "input_r.fastq.gz"
75 #set compressed = "GZ" 75 #set compressed = "GZ"
76 #else if $library.input_1.reverse.is_of_type("fastq.bz2", "fastqsanger.bz2"): 76 #else if $library.input_1.reverse.is_of_type("fastq.bz2", "fastqsanger.bz2"):
79 #else if $library.input_1.reverse.is_of_type("fasta"): 79 #else if $library.input_1.reverse.is_of_type("fasta"):
80 #set read2 = "input_r.fasta" 80 #set read2 = "input_r.fasta"
81 #else: 81 #else:
82 #set read2 = "input_r.fastq" 82 #set read2 = "input_r.fastq"
83 #end if 83 #end if
84 ln -s '${library.input_1.reverse}' ${read2} && 84 ln -f -s '${library.input_1.reverse}' ${read2} &&
85 85
86 #else if str($library.type) == 'paired_interleaved': 86 #else if str($library.type) == 'paired_interleaved':
87 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"): 87 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
88 #set read1 = "input_il.fastq.gz" 88 #set read1 = "input_il.fastq.gz"
89 #set compressed = "GZ" 89 #set compressed = "GZ"
94 #set reads_are_fastq = False 94 #set reads_are_fastq = False
95 #set read1 = "input_il.fasta" 95 #set read1 = "input_il.fasta"
96 #else: 96 #else:
97 #set read1 = "input_il.fastq" 97 #set read1 = "input_il.fastq"
98 #end if 98 #end if
99 ln -s '${library.input_1}' ${read1} && 99 ln -f -s '${library.input_1}' ${read1} &&
100 #else: 100 #else:
101 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"): 101 #if $library.input_1.is_of_type("fastq.gz", "fastqsanger.gz"):
102 #set read1 = "input_f.fastq.gz" 102 #set read1 = "input_f.fastq.gz"
103 #set compressed = "GZ" 103 #set compressed = "GZ"
104 #else if $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"): 104 #else if $library.input_1.is_of_type("fastq.bz2", "fastqsanger.bz2"):
108 #set reads_are_fastq = False 108 #set reads_are_fastq = False
109 #set read1 = "input_f.fasta" 109 #set read1 = "input_f.fasta"
110 #else: 110 #else:
111 #set read1 = "input_f.fastq" 111 #set read1 = "input_f.fastq"
112 #end if 112 #end if
113 ln -s '${library.input_1}' ${read1} && 113 ln -f -s '${library.input_1}' ${read1} &&
114 #end if 114 #end if
115 115
116 ## execute bowtie2 116 ## execute bowtie2
117 117
118 bowtie2 118 bowtie2
337 <option value="single">Single-end</option> 337 <option value="single">Single-end</option>
338 <option value="paired">Paired-end</option> 338 <option value="paired">Paired-end</option>
339 <option value="paired_collection">Paired-end Dataset Collection</option> 339 <option value="paired_collection">Paired-end Dataset Collection</option>
340 <option value="paired_interleaved">Paired-end data from single interleaved dataset</option> 340 <option value="paired_interleaved">Paired-end data from single interleaved dataset</option>
341 </param> 341 </param>
342
343 <when value="single"> 342 <when value="single">
344 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTA/Q file" help="Must be of datatype &quot;fastqsanger&quot; or &quot;fasta&quot;" /> 343 <param name="input_1" format="fastqsanger,fastqsanger.gz,fastqsanger.bz2,fasta" type="data" label="FASTA/Q file" help="Must be of datatype &quot;fastqsanger&quot; or &quot;fasta&quot;" />
345 <expand macro="align_unalign" /> 344 <expand macro="align_unalign" />
346 </when> 345 </when>
347 <when value="paired"> 346 <when value="paired">
521 <option value="yes">Yes</option> 520 <option value="yes">Yes</option>
522 <option value="no" selected="true">No</option> 521 <option value="no" selected="true">No</option>
523 </param> 522 </param>
524 <when value="yes"> 523 <when value="yes">
525 <param name="sam_opt" type="boolean" truevalue="true" falsevalue="false" label="Would you like the output to be a SAM file" help="By default, the output from this Bowtie2 wrapper is a sorted BAM file."/> 524 <param name="sam_opt" type="boolean" truevalue="true" falsevalue="false" label="Would you like the output to be a SAM file" help="By default, the output from this Bowtie2 wrapper is a sorted BAM file."/>
526 <param name="no_unal" type="boolean" truevalue="--no-unal" falsevalue="" label="Suppress SAM records for reads that failed to align" help="--no-unal; Default=False"/> 525 <param argument="--no-unal" type="boolean" truevalue="--no-unal" falsevalue="" label="Suppress SAM records for reads that failed to align" help="--no-unal; Default=False"/>
527 <param name="omit_sec_seq" type="boolean" truevalue="--omit-sec-seq" falsevalue="" label="Suppress SEQ and QUAL strings for secondary alignments" help="--omit-sec-seq; Default=False"/> 526 <param argument="--omit-sec-seq" type="boolean" truevalue="--omit-sec-seq" falsevalue="" label="Suppress SEQ and QUAL strings for secondary alignments" help="--omit-sec-seq; Default=False"/>
528 <param name="sam_no_qname_trunc" argument="--sam-no-qname-trunc" type="boolean" truevalue="--sam-no-qname-trunc" falsevalue="" label="Suppress standard behavior of truncating readname at first whitespace at the expense of generating non-standard SAM"/> 527 <param argument="--sam-no-qname-trunc" type="boolean" truevalue="--sam-no-qname-trunc" falsevalue="" label="Suppress standard behavior of truncating readname at first whitespace at the expense of generating non-standard SAM"/>
529 <param argument="--xeq" type="boolean" truevalue="--xeq" falsevalue="" label="Use '='/'X', instead of 'M,' to specify matches/mismatches in SAM record."/> 528 <param argument="--xeq" type="boolean" truevalue="--xeq" falsevalue="" label="Use '='/'X', instead of 'M,' to specify matches/mismatches in SAM record."/>
530 <param name="soft_clipped_unmapped_tlen" argument="--soft-clipped-unmapped-tlen" type="boolean" truevalue="--soft-clipped-unmapped-tlen" falsevalue="" label=" Exclude soft-clipped bases when reporting TLEN"/> 529 <param argument="--soft-clipped-unmapped-tlen" type="boolean" truevalue="--soft-clipped-unmapped-tlen" falsevalue="" label=" Exclude soft-clipped bases when reporting TLEN"/>
531 <param name="reorder" argument="--reorder" type="boolean" truevalue="--reorder" falsevalue="" 530 <param argument="--reorder" type="boolean" truevalue="--reorder" falsevalue=""
532 label="Reorder output to reflect order of the input file" 531 label="Reorder output to reflect order of the input file"
533 help="Reorder guarantees that output SAM records are printed in an order corresponding to the order of the reads in the original input file, even when -p is set greater than 1." /> 532 help="Reorder guarantees that output SAM records are printed in an order corresponding to the order of the reads in the original input file, even when -p is set greater than 1." />
534 </when> 533 </when>
535 <when value="no"/> 534 <when value="no"/>
536 </conditional> 535 </conditional>