annotate velveth.xml @ 2:8d09f8be269e draft

"planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
author iuc
date Tue, 16 Jun 2020 12:58:20 -0400
parents 5da9a0e2fb2d
children 920677cd220f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
1 <tool id="velveth" name="velveth" version="@WRAPPER_VERSION@.2">
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
2 <description>Prepare a dataset for the Velvet velvetg Assembler</description>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
3 <macros>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
4 <import>macros.xml</import>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
5 </macros>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
6 <expand macro="requirements"/>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
7 <expand macro="stdio"/>
1
5da9a0e2fb2d "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit 8301d37348be25a038b3c63b049b1178d05f5003"
devteam
parents: 0
diff changeset
8 <version_command><![CDATA[
5da9a0e2fb2d "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit 8301d37348be25a038b3c63b049b1178d05f5003"
devteam
parents: 0
diff changeset
9 velveth 2>&1 | grep "Version" | sed -e 's/Version //'
5da9a0e2fb2d "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit 8301d37348be25a038b3c63b049b1178d05f5003"
devteam
parents: 0
diff changeset
10 ]]></version_command>
5da9a0e2fb2d "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit 8301d37348be25a038b3c63b049b1178d05f5003"
devteam
parents: 0
diff changeset
11 <command><![CDATA[
2
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
12 export OMP_NUM_THREADS="\${GALAXY_SLOTS:-1}" &&
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
13 mkdir -p '${outfile.extra_files_path}' &&
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
14 velveth
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
15 '$outfile.extra_files_path'
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
16 $hash_length
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
17 #for $i in $inputs
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
18 -${i.input_type.input.ext}
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
19 ${i.input_type.read_type}
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
20 #if str( $i.input_type.input_type_selector ) == "paireds":
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
21 -separate '${i.input_type.input}' '${i.input_type.input2}'
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
22 #else if str( $i.input_type.input_type_selector ) == "pairedi":
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
23 -interleaved '${i.input_type.input}'
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
24 #else:
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
25 '${i.input_type.input}'
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
26 #end if
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
27 #end for
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
28 $strand_specific
1
5da9a0e2fb2d "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit 8301d37348be25a038b3c63b049b1178d05f5003"
devteam
parents: 0
diff changeset
29 ]]></command>
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
30 <inputs>
2
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
31 <param label="Hash Length" name="hash_length" type="integer" value="21" min="11" max="191" help="k-mer length in base pairs of the words being hashed."/>
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
32 <param name="strand_specific" type="boolean" checked="false" truevalue="-strand_specific" falsevalue="" label="Use strand specific transcriptome sequencing" help="If you are using a strand specific transcriptome sequencing protocol, you may wish to use this option for better results."/>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
33 <repeat name="inputs" title="Input Files">
2
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
34 <conditional name="input_type">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
35 <param name="input_type_selector" type="select" label="Choose the input type">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
36 <option value="single" selected="true">Single ended</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
37 <option value="paireds">separate paired end</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
38 <option value="pairedi">interleaved paired end</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
39 </param>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
40 <when value="single">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
41 <param label="read type" name="read_type" type="select">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
42 <option value="-short" selected="true">short reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
43 <option value="-short2">short2 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
44 <option value="-short3">short3 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
45 <option value="-short4">short4 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
46 <option value="-long">long reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
47 </param>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
48 <param name="input" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Dataset"/>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
49 </when>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
50 <when value="paireds">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
51 <param label="read type" name="read_type" type="select" >
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
52 <option value="-shortPaired" selected="true">shortPaired reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
53 <option value="-shortPaired2">shortPaired2 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
54 <option value="-shortPaired3">shortPaired3 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
55 <option value="-shortPaired4">shortPaired4 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
56 <option value="-longPaired">longPaired reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
57 </param>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
58 <param name="input" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Dataset"/>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
59 <param name="input2" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Dataset"/>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
60 </when>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
61 <when value="pairedi">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
62 <param label="read type" name="read_type" type="select">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
63 <option value="-shortPaired" selected="true">shortPaired reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
64 <option value="-shortPaired2">shortPaired2 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
65 <option value="-shortPaired3">shortPaired3 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
66 <option value="-shortPaired4">shortPaired4 reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
67 <option value="-longPaired">longPaired reads</option>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
68 </param>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
69 <param name="input" type="data" format="fasta,fastq,fasta.gz,fastq.gz" label="Dataset"/>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
70 </when>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
71 </conditional>
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
72 </repeat>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
73 </inputs>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
74 <outputs>
2
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
75 <data format="velvet" name="outfile" />
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
76 </outputs>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
77 <tests>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
78 <test>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
79 <param name="hash_length" value="21" />
2
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
80 <repeat name="inputs">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
81 <conditional name="input_type">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
82 <param name="input_type_selector" value="paireds" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
83 <param name="read_type" value="-shortPaired" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
84 <param name="input1" value="R1.fastq" ftype="fastq" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
85 <param name="input2" value="R2.fastq" ftype="fastq" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
86 </conditional>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
87 </repeat>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
88 <param name="strand_specific" value="" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
89 <output name="outfile" file="velveth_paireds.out">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
90 <extra_files type="file" name='Sequences' value="velveth_paireds/Sequences" compare="diff" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
91 <extra_files type="file" name='Roadmaps' value="velveth_paireds/Roadmaps" compare="diff" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
92 </output>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
93 </test>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
94 <test>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
95 <param name="hash_length" value="21" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
96 <repeat name="inputs">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
97 <conditional name="input_type">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
98 <param name="input_type_selector" value="single" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
99 <param name="read_type" value="-short" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
100 <param name="input" value="R1.fastq" ftype="fastq" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
101 </conditional>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
102 </repeat>
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
103 <param name="strand_specific" value="" />
2
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
104 <output name="outfile" file="velveth_single.out">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
105 <extra_files type="file" name='Sequences' value="velveth_single/Sequences" compare="diff" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
106 <extra_files type="file" name='Roadmaps' value="velveth_single/Roadmaps" compare="diff" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
107 </output>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
108 </test>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
109 <test>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
110 <param name="hash_length" value="21" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
111 <repeat name="inputs">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
112 <conditional name="input_type">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
113 <param name="input_type_selector" value="single" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
114 <param name="read_type" value="-short" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
115 <param name="input" value="R1.fastq" ftype="fastq" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
116 </conditional>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
117 </repeat>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
118 <repeat name="inputs">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
119 <param name="file_format" value="fastq" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
120 <conditional name="input_type">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
121 <param name="input_type_selector" value="single" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
122 <param name="read_type" value="-short2" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
123 <param name="input" value="R2.fastq" ftype="fastq" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
124 </conditional>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
125 </repeat>
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
126 <param name="strand_specific" value="" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
127 <output name="outfile" file="velveth_single.out">
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
128 <extra_files type="file" name='Sequences' value="velveth_single2/Sequences" compare="diff" />
8d09f8be269e "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit c5031ee00f5d61be43d2d6a1349870d6c8a817de"
iuc
parents: 1
diff changeset
129 <extra_files type="file" name='Roadmaps' value="velveth_single2/Roadmaps" compare="diff" />
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
130 </output>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
131 </test>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
132 </tests>
1
5da9a0e2fb2d "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit 8301d37348be25a038b3c63b049b1178d05f5003"
devteam
parents: 0
diff changeset
133 <help><![CDATA[
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
134 **What it does**
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
135
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
136 Velvet_ is a de novo genomic assembler specially designed for short read sequencing technologies, such as Solexa or 454, developed by Daniel Zerbino and Ewan Birney at the European Bioinformatics Institute (EMBL-EBI), near Cambridge, in the United Kingdom.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
137
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
138 Velvet currently takes in short read sequences, removes errors then produces high quality unique contigs. It then uses paired-end read and long read information, when available, to retrieve the repeated areas between contigs.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
139
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
140 Read the Velvet `documentation`__ for details on using the Velvet Assembler.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
141
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
142 .. _Velvet: http://www.ebi.ac.uk/~zerbino/velvet/
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
143
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
144 .. __: http://www.ebi.ac.uk/~zerbino/velvet/Manual.pdf
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
145
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
146 ------
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
147
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
148 **Velveth**
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
149
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
150 Velveth takes in a number of sequence files, produces a hashtable, then outputs two files in an output directory (creating it if necessary), Sequences and Roadmaps, which are necessary to velvetg.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
151
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
152 ------
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
153
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
154 **Hash Length**
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
155
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
156 The hash length, also known as k-mer length, corresponds to the length, in base pairs, of the words being hashed.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
157
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
158 The hash length is the length of the k-mers being entered in the hash table. Firstly, you must observe three technical constraints::
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
159
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
160 # it must be an odd number, to avoid palindromes. If you put in an even number, Velvet will just decrement it and proceed.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
161 # it must be below or equal to MAXKMERHASH length (cf. 2.3.3, by default 31bp), because it is stored on 64 bits
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
162 # it must be strictly inferior to read length, otherwise you simply will not observe any overlaps between reads, for obvious reasons.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
163
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
164 Now you still have quite a lot of possibilities. As is often the case, it's a trade- off between specificity and sensitivity. Longer kmers bring you more specificity (i.e. less spurious overlaps) but lowers coverage (cf. below). . . so there's a sweet spot to be found with time and experience.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
165 We like to think in terms of "k-mer coverage", i.e. how many times has a k-mer been seen among the reads. The relation between k-mer coverage Ck and standard (nucleotide-wise) coverage C is Ck = C # (L - k + 1)/L where k is your hash length, and L you read length.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
166 Experience shows that this kmer coverage should be above 10 to start getting decent results. If Ck is above 20, you might be "wasting" coverage. Experience also shows that empirical tests with different values for k are not that costly to run!
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
167
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
168 **Input Files**
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
169
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
170 Velvet works mainly with fasta and fastq formats. For paired-end reads, the assumption is that each read is next to its mate
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
171 read. In other words, if the reads are indexed from 0, then reads 0 and 1 are paired, 2 and 3, 4 and 5, etc.
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
172
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
173 Supported file formats are::
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
174
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
175 fasta
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
176 fastq
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
177 fasta.gz
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
178 fastq.gz
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
179 eland
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
180 gerald
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
181
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
182 Read categories are::
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
183
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
184 short (default)
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
185 shortPaired
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
186 short2 (same as short, but for a separate insert-size library)
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
187 shortPaired2 (see above)
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
188 long (for Sanger, 454 or even reference sequences)
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
189 longPaired
1
5da9a0e2fb2d "planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tools/velvet commit 8301d37348be25a038b3c63b049b1178d05f5003"
devteam
parents: 0
diff changeset
190 ]]></help>
0
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
191 <expand macro="citation"/>
08256557922f planemo upload commit 4720b3dfa114d790b597fef6ccf3c17e8c11e111
devteam
parents:
diff changeset
192 </tool>