annotate obiclean.xml @ 3:12baadec7809 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
author iuc
date Mon, 10 May 2021 19:35:45 +0000
parents 1405e4efffed
children 08d873cdd5f6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
1 <tool id="obi_clean" name="obiclean" version="@TOOL_VERSION@" profile="@PROFILE@">
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
2 <description>tags a set of sequences for PCR/sequencing errors identification</description>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
3 <macros>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
4 <import>macros.xml</import>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
5 </macros>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
6 <expand macro="requirements"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
7 <expand macro="stdio"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
8
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
9 <command><![CDATA[
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
10 @GUNZIP_INPUT@
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
11 obiclean
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
12 --without-progress-bar
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
13 #if $distance
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
14 -d '$distance'
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
15 #end if
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
16 #if $key
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
17 -s '$key'
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
18 #end if
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
19 #if $ratio
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
20 -r '$ratio'
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
21 #end if
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
22 ${head}
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
23 @INPUT_FORMAT@
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
24 @OUT_FORMAT@
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
25 input
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
26 @GZIP_OUTPUT@
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
27 >'$output'
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
28 @GENERATE_GALAXY_JSON@
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
29 ]]></command>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
30 <inputs>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
31 <param name="input" type="data" format="@INPUT_FORMATS@" label="Input sequences file" />
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
32 <param name="distance" type="integer" value="1" optional="true" label="Maximum numbers of differences between two variant sequences (default: 1)" />
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
33 <param name="key" type="text" optional="true" label="Specify an attribute containing sample definition" />
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
34 <param name="ratio" optional="true" type="float" value="1" label="Threshold ratio between counts (rare/abundant counts) of two sequence records so that the less abundant one is a variant of the more abundant (default: 1, i.e. all less abundant sequences are variants)" />
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
35 <param name="head" type="boolean" checked="false" truevalue="-H" falsevalue="" label="Do you want to select only sequences with the head status in a least one sample?" />
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
36 <expand macro="input_format_options_macro"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
37 <expand macro="out_format_macro"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
38 </inputs>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
39 <outputs>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
40 <data format="auto" name="output"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
41 </outputs>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
42 <tests>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
43 <test>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
44 <param name="input" value="output_obiannotate.fasta" />
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
45 <param name="head" value="True"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
46 <output name="output" file="output_obiclean_simple.fasta" ftype="fasta"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
47 </test>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
48 <test>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
49 <param name="input" value="output_obiannotate.fasta.gz" />
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
50 <param name="key" value="merged_sample"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
51 <param name="ratio" value="0.05"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
52 <param name="head" value="False"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
53 <output name="output" file="output_obiclean_advanced.fasta.gz" ftype="fasta.gz" decompress="true"/>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
54 </test>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
55 </tests>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
56 <help><![CDATA[
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
57
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
58 .. class:: infomark
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
59
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
60 **What it does**
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
61
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
62 obijoinpairedend aims at joining the two reads of a paired-end library.
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
63
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
64 For this purpose, it concatenates sequence merging the forward read and the reversed-complemented reverse read.
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
65
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
66 The program uses as input one or two sequences reads files.
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
67
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
68 If two files are used one of them must be specified using the -r option. Sequence records corresponding to the same read pair must be in the same order in the two files.
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
69 If just one file is provided, sequence records are supposed to be all of the same length. The first half of the sequence is used as forward read, the second half is used as the reverse read.
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
70
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
71 @OBITOOLS_LINK@
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
72
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
73 ]]>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
74 </help>
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
75 <expand macro="citation" />
12baadec7809 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/obitools commit 5d3c7a7b3f7d687bb03ef7993ddf1a6507d655bd"
iuc
parents: 1
diff changeset
76 </tool>