Mercurial > repos > edward-kirton > blast
comparison blast/makeblastdb.xml @ 0:f3ac34855f5e default tip
Migrated tool version 1.0.0 from old tool shed archive to new tool shed repository
author | edward-kirton |
---|---|
date | Tue, 07 Jun 2011 17:30:11 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f3ac34855f5e |
---|---|
1 <tool id="makeblastdb" name="makeblastdb" version="0.0.1"> | |
2 <description>Make BLAST database</description> | |
3 <command interpreter="bash">blastdb_wrapper.sh $outfile.extra_files_path | |
4 makeblastdb -logfile $outfile -out ${os.path.join($outfile.extra_files_path,'blastdb')} | |
5 -parse_seqids | |
6 $hash_index | |
7 #set $sep = '-in ' | |
8 #for $i in $in | |
9 $sep${i.file} | |
10 #set $set = ', ' | |
11 #end for | |
12 -title $title | |
13 -dbtype $dbtype | |
14 #set $sep = '-mask_data ' | |
15 #for $i in $mask_data | |
16 $sep${i.file} | |
17 #set $set = ', ' | |
18 #end for | |
19 #set $sep = '-gi_mask -gi_mask_name ' | |
20 #for $i in $gi_mask | |
21 $sep${i.file} | |
22 #set $set = ', ' | |
23 #end for | |
24 #if $tax.select == 'id': | |
25 -taxid $tax.id | |
26 #elsif $tax.select == 'map': | |
27 -taxid_map $tax.map | |
28 #end if | |
29 </command> | |
30 <inputs> | |
31 <repeat name="in" title="Blast or Fasta Database"> | |
32 <param name="file" type="data" format="fasta,blastdb" label="Blast or Fasta database" /> | |
33 </repeat> | |
34 <param name="title" type="text" value="" label="Title for BLAST database" /> | |
35 <param name="dbtype" type="select" display="radio" label="[-dbtype] Molecule type of input"> | |
36 <option value="prot">protein</option> | |
37 <option value="nucl">nucleotide</option> | |
38 </param> | |
39 <param name="hash_index" type="boolean" truevalue="-hash_index" falsevalue="" checked="true" label="[-hash_index] Enables the creation of sequence hash values. These hash values can then be used to quickly determine if a given sequence data exists in this BLAST database." /> | |
40 | |
41 <!-- SEQUENCE MASKING OPTIONS --> | |
42 <repeat name="mask_data" title="[-mask_data] Provide one or more files containing masking data"> | |
43 <param name="file" type="data" format="asnb" label="File containing masking data" help="As produced by NCBI masking applications (e.g. dustmasker, segmasker, windowmasker)" /> | |
44 </repeat> | |
45 <repeat name="gi_mask" title="[-gi_mask_name] Create GI indexed masking data"> | |
46 <param name="file" type="data" format="asnb" label="Masking data output file" /> | |
47 </repeat> | |
48 | |
49 <!-- TAXONOMY OPTIONS --> | |
50 <conditional name="tax"> | |
51 <param name="select" type="select" label="Taxonomy options"> | |
52 <option value="">Do not assign sequences to Taxonomy IDs</option> | |
53 <option value="id">[-taxid] Assign all sequences to one Taxonomy ID</option> | |
54 <option value="map">[-taxid_map] Supply text file mapping sequence IDs to taxnomy IDs</option> | |
55 </param> | |
56 <when value=""> | |
57 </when> | |
58 <when value="id"> | |
59 <param name="id" type="integer" value="" label="NCBI taxonomy ID" help="Integer >=0" /> | |
60 </when> | |
61 <when value="map"> | |
62 <param name="file" type="data" format="txt" label="Seq ID : Tax ID mapping file" help="Format: SequenceId TaxonomyId" /> | |
63 </when> | |
64 </conditional> | |
65 </inputs> | |
66 <outputs> | |
67 <data name="outfile" format="blastdb" /> | |
68 </outputs> | |
69 <requirements> | |
70 </requirements> | |
71 <help> | |
72 **What it does** | |
73 | |
74 Make BLAST database from one or more FASTA files and/or BLAST databases. | |
75 This application serves as a replacement for formatdb. | |
76 | |
77 Applying masks to an existing BLAST database will not change the original database; a new database will be created. | |
78 For this reason, it's best to apply all masks at once to minimize the number of unnecessary intermediate databases. | |
79 | |
80 | |
81 **Documentation** | |
82 | |
83 http://www.ncbi.nlm.nih.gov/books/NBK1763/ | |
84 </help> | |
85 </tool> |