comparison data_manager/bracken_build_database.xml @ 6:84cc0dc92b0c draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_build_bracken_database/ commit c0f150357d52e21443197b2ec1427feb9fc7971e
author iuc
date Wed, 06 Mar 2024 14:09:08 +0000
parents 5c8a23ccb14a
children
comparison
equal deleted inserted replaced
5:5c8a23ccb14a 6:84cc0dc92b0c
37 <options from_data_table="kraken2_databases"> 37 <options from_data_table="kraken2_databases">
38 <validator type="no_options" message="No Kraken2 databases are available" /> 38 <validator type="no_options" message="No Kraken2 databases are available" />
39 </options> 39 </options>
40 </param> 40 </param>
41 <conditional name="check_prebuilt"> 41 <conditional name="check_prebuilt">
42 <param name="prebuilt" type="select" label="Use Pre-built DB"> 42 <param name="prebuilt" type="select" label="Use Pre-built DB" help="Use existing pre-built DB. This only works for kraken DBs, that already contain additional bracken DBs. This is the case for DBs downloaded from https://benlangmead.github.io/aws-indexes/k2.">
43 <option value="no">No</option> 43 <option value="no">No</option>
44 <option value="yes">Yes</option> 44 <option value="yes">Yes</option>
45 </param> 45 </param>
46 <when value="no"> 46 <when value="no">
47 <param name="kmer_len" type="integer" min="8" max="256" value="35" label="K-mer length" /> 47 <param name="kmer_len" type="integer" min="8" max="256" value="35" label="K-mer length" help="The K-mer length of the bracken DB should be identical to the K-mer length used to build the kraken2 DB." />
48 <param name="read_len" type="integer" min="8" max="1000" value="100" label="Read length" /> 48 <param name="read_len" type="integer" min="8" max="1000" value="100" label="Read length" help="The read length of the bracken DB should be the same as the length of the reads to be analysis (one read in case of paired reads)." />
49 </when> 49 </when>
50 <when value="yes"> 50 <when value="yes">
51 <param name="read_len" type="select" label="Read length" > 51 <param name="read_len" type="select" label="Read length" help="The read length of the bracken DB should be the same as the length of the reads to be analysis (one read in case of paired reads). The prebuilt DBs where built using the same K-mer length as the kraken2 DB.">
52 <option value="50">50</option> 52 <option value="50">50</option>
53 <option value="75">75</option> 53 <option value="75">75</option>
54 <option value="100" selected="true">100</option> 54 <option value="100" selected="true">100</option>
55 <option value="150">150</option> 55 <option value="150">150</option>
56 <option value="200">200</option> 56 <option value="200">200</option>
57 <option value="250">250</option> 57 <option value="250">250</option>
58 <option value="300">300</option> 58 <option value="300">300</option>
59 </param> 59 </param>
60 </when> 60 </when>
61 </conditional> 61 </conditional>
62 <param name="database_name" type="text" label="Database Name" /> 62 <param name="database_name" type="text" label="Database Name" help="Please add a clear reference to the corresponding kraken2 DB the read length to the name." />
63 </inputs> 63 </inputs>
64 <outputs> 64 <outputs>
65 <data name="out_file" format="data_manager_json" /> 65 <data name="out_file" format="data_manager_json" />
66 </outputs> 66 </outputs>
67 <tests> 67 <tests>
74 </assert_contents> 74 </assert_contents>
75 </output> 75 </output>
76 </test> 76 </test>
77 </tests> 77 </tests>
78 <help> 78 <help>
79 A bracken DB can only be built as an addition to an existing kracken2 DB (see `Bracken docs`_).
80
81 .. _Bracken docs: https://github.com/jenniferlu717/Bracken?tab=readme-ov-file#step-1-generate-the-bracken-database-file-databasexmerskmer_distrib-1
82
83 ======================================
84 Using prebuilt DBs
85 ======================================
86
87 The prebuilt option does use existing bracken DBs, that are shipped with kraken2 DBs. This is the case for DBs downloaded from https://benlangmead.github.io/aws-indexes/k2.
88 All prebuilt databases contain a Kraken 2 database along with Bracken databases built for 50, 75, 100, 150, 200, 250 and 300 read lengths (refering to the lenght of the sequenced reads to be analysis using that database (one read in case of paired reads)).
89 In this case the data manager points to the same DB as the kracken2 DB.
90 **The prebuilt option must not be used for custom kraken2 DBs ! For this the bracken DB needs to be build.**
91
92 ======================================
93 Building new DBs
94 ======================================
95
96 Use the same K-mer length as the kraken2 DB and choose read lengths that are close to the read length of analysis you want to perform (one read in case of paired reads).
79 </help> 97 </help>
80 <citations> 98 <citations>
81 <citation type="doi">10.7717/peerj-cs.104</citation> 99 <citation type="doi">10.7717/peerj-cs.104</citation>
82 </citations> 100 </citations>
83 </tool> 101 </tool>