comparison macros.xml @ 10:10b84b577117 draft default tip

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/rna_tools/sortmerna commit 7dca92baf6a91f10bced28b883f14d3f4d7630c5
author rnateam
date Sat, 21 Oct 2023 09:07:21 +0000
parents
children
comparison
equal deleted inserted replaced
9:eb35257d2e29 10:10b84b577117
1 <macros>
2 <token name="@TOOL_VERSION@">4.3.6</token>
3 <token name="@VERSION_SUFFIX@">0</token>
4 <xml name="requirements">
5 <requirements>
6 <requirement type="package" version="@TOOL_VERSION@">sortmerna</requirement>
7 <requirement type="package" version="1.17">samtools</requirement>
8 </requirements>
9 </xml>
10 <xml name="db_prep">
11 <param name="seed_length" argument="-L" type="integer" min="0" max="100" value="18" label="Seed length" help="Seed length for database indexing"/>
12 <param argument="--max_pos" type="integer" min="0" max="100000" value="10000" label="Maximum number of positions to store for each k-mer for database indexing" help="With 0, all positions are stored"/>
13 </xml>
14 <xml name="reads_macro">
15 <param argument="--reads" type="data" format="fasta,fastq,fastq.gz" label="Querying sequences"/>
16 </xml>
17 <xml name="paired_type_macro">
18 <param name="paired_type" type="select" display="radio" label="If one of the paired-end reads aligns and the other one does not">
19 <option value="">Leave the reads split between aligned and rejected files</option>
20 <option value="--paired_in">Output both reads to aligned file (--paired_in)</option>
21 <option value="--paired_out">Output both reads to rejected file (--paired_out)</option>
22 <option value="--sout">Separate paired and singleton aligned reads (--sout)</option>
23 </param>
24 </xml>
25 <xml name="output_alignments">
26 <param name="print_all_reads" type="boolean" checked="false" truevalue="--print_all_reads" falsevalue="" label="Output null alignment strings for non-aligned reads"/>
27 <conditional name="blast">
28 <param name="blast_output" type="select" label="Output BLAST report?">
29 <option value="True">Yes</option>
30 <option value="False" selected="True">No</option>
31 </param>
32 <when value="True">
33 <param name="blast_format" type="select" label="BLAST-like format?">
34 <option value="0">pairwise (--blast '0')</option>
35 <option value="1">tabular BLAST -m 8 format (--blast '1')</option>
36 <option value="1 cigar">tabular + column for CIGAR (--blast '1 cigar')</option>
37 <option value="1 cigar qcov">tabular + columns for CIGAR and query coverage (--blast '1 cigar qcov')</option>
38 <option value="1 cigar qcov qstrand">tabular + columns for CIGAR, query coverage and strand (--blast '1 cigar qcov qstrand')</option>
39 </param>
40 </when>
41 <when value="False"/>
42 </conditional>
43 </xml>
44 <xml name="otu_picking">
45 <conditional name="otu">
46 <param name="otu_map" type="select" label="Pick OTUs?">
47 <option value="True">Yes</option>
48 <option value="False" selected="true">No</option>
49 </param>
50 <when value="True">
51 <param argument="--id" type="float" value="0.97" label="Percentage id similarity threshold" help="The alignment must still pass the E-value threshold" />
52 <param argument="--coverage" type="float" value="0.97" label="Percentage query coverage threshold" help="The alignment must still pass the E-value threshold" />
53 <param name="de_novo_otu" type="boolean" truevalue="--de_novo_otu" falsevalue="" label="FASTA/FASTQ file for reads matching database below percentage id" help="--de_novo_otu" />
54 </when>
55 <when value="False"/>
56 </conditional>
57 </xml>
58 <token name="@OTU_PICKING@">
59 #if $report.otu.otu_map == 'True'
60 --otu_map
61 --id '$report.otu.id'
62 --coverage '$report.otu.coverage'
63 $report.otu.de_novo_otu
64 #end if
65 </token>
66 <token name="@ALIGNMENTS@">
67 $report.print_all_reads
68 --sam
69 --SQ
70 #if $report.blast.blast_output == 'True'
71 --blast '$report.blast.blast_format'
72 #end if
73 </token>
74 <token name="@PREPROCESSING@">
75 #set $ref = list()
76 #if str( $databases_type.databases_selector ) == 'history'
77 #for $db in $databases_type.database_name
78 $ref.append('%s' % $db )
79 #end for
80 #else
81 #for $db in $databases_type.input_databases
82 $ref.append($db)
83 #end for
84 #end if
85 </token>
86 <xml name="citations">
87 <citations>
88 <citation type="doi">10.1093/bioinformatics/bts611</citation>
89 <citation type="doi">10.1093/nar/gks1219</citation>
90 <citation type="doi">10.1093/nar/gks1005</citation>
91 <citation type="doi">10.1093/bioinformatics/btq461</citation>
92 <citation type="doi">10.1038/nbt.2198</citation>
93 </citations>
94 </xml>
95 </macros>