Mercurial > repos > devteam > ncbi_blast_plus
annotate tools/ncbi_blast_plus/ncbi_makeblastdb.xml @ 29:5edc472ec434 draft
"Updated to 2.10.1+galaxy0"
author | peterjc |
---|---|
date | Thu, 10 Sep 2020 13:23:34 +0000 |
parents | 6f8ea4b9a2c4 |
children | 0e3cf9594bb7 |
rev | line source |
---|---|
27
6f8ea4b9a2c4
"planemo upload for repository https://github.com/peterjc/galaxy_blast/tree/master/tools/ncbi_blast_plus commit 3f9f39ad808325a11d9967980d2cb82c96d69324"
peterjc
parents:
25
diff
changeset
|
1 <tool id="ncbi_makeblastdb" name="NCBI BLAST+ makeblastdb" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@"> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
2 <description>Make BLAST database</description> |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
3 <macros> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
4 <token name="@BINARY@">makeblastdb</token> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
5 <import>ncbi_macros.xml</import> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
6 </macros> |
15
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
7 <expand macro="preamble" /> |
23 | 8 <command detect_errors="aggressive" strict="true"><![CDATA[ |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
9 python $__tool_directory__/check_no_duplicates.py |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
10 ##First check for duplicates (since BLAST+ 2.2.28 fails to do so) |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
11 ##and abort (via the ampersand ampersand trick) if any are found. |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
12 #for i in $input_file#'${i}' #end for# |
23 | 13 && |
14 ##makeblastdb does not like input redirects of the sort | |
15 ##makeblastdb -in <(gunzip -c gzipped_fasta_file) | |
16 ##therefore we're cramming everything | |
17 ##into a single cat command below | |
18 cat | |
19 #for i in $input_file: | |
25 | 20 #if $i.is_of_type('fasta.gz') and $i.ext != "fasta": |
23 | 21 <(gunzip -c ${i}) |
22 #else: | |
23 ${i} | |
24 #end if | |
25 #end for | |
26 | makeblastdb -out '${os.path.join($outfile.files_path, "blastdb")}' | |
29 | 27 -blastdb_version 4 |
5 | 28 $parse_seqids |
29 $hash_index | |
23 | 30 -in - |
5 | 31 #if $title: |
23 | 32 -title '${title}' |
5 | 33 #else: |
34 ##Would default to being based on the cryptic Galaxy filenames, which is unhelpful | |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
35 -title 'BLAST Database' |
5 | 36 #end if |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
37 -dbtype $dbtype |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
38 ## -------------------------------------------------------------------- |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
39 ## Masking |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
40 ## -------------------------------------------------------------------- |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
41 ## HACK: If no mask files, evaluates as a list with just None in it: |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
42 ## See Trello issue https://trello.com/c/lp5YmA1O |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
43 #if ' '.join( map(str, $mask_data_file) ) != 'None': |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
44 #for i in $mask_data_file: |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
45 -mask_data '${i}' |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
46 #end for |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
47 #end if |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
48 ## -------------------------------------------------------------------- |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
49 ## Taxonomy |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
50 ## -------------------------------------------------------------------- |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
51 #if $tax.taxselect == 'id': |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
52 -taxid $tax.taxid |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
53 ## TODO - Can we use a tabular file for the taxonomy mapping? |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
54 ## #else if $tax.taxselect == 'map': |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
55 ## -taxid_map $tax.taxmap |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
56 #end if |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
57 ## -------------------------------------------------------------------- |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
58 ## Capture the stdout log information to the primary file (plain text): |
23 | 59 > '$outfile' |
60 ]]></command> | |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
61 <inputs> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
62 <param argument="-dbtype" type="select" display="radio" label="Molecule type of input"> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
63 <option value="prot">protein</option> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
64 <option value="nucl">nucleotide</option> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
65 </param> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
66 <!-- TODO Allow merging of existing BLAST databases (conditional on the database type)? |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
67 NOTE Double check the new database would be self contained first |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
68 --> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
69 <!-- Note this is a mandatory parameter - default should be most recent FASTA file --> |
23 | 70 <param name="input_file" argument="-in" type="data" multiple="true" optional="false" format="fasta,fasta.gz" label="Input FASTA files(s)" help="One or more FASTA files" /> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
71 <param argument="-title" type="text" value="" label="Title for BLAST database" help="This is the database name shown in BLAST search output" /> |
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
72 <param argument="-parse_seqids" type="boolean" truevalue="-parse_seqids" falsevalue="" checked="false" label="Parse the sequence identifiers" help="This is only advised if your FASTA file follows the NCBI naming conventions using pipe '|' symbols" /> |
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
73 <param argument="-hash_index" type="boolean" truevalue="-hash_index" falsevalue="" checked="true" label="Enable the creation of sequence hash values" help="These hash values can then be used to quickly determine if a given sequence data exists in this BLAST database." /> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
74 <!-- SEQUENCE MASKING OPTIONS --> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
75 <!-- Note this is an optional parameter - default should be NO files --> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
76 <param name="mask_data_file" argument="-mask_data" type="data" multiple="true" optional="true" value="" format="maskinfo-asn1,maskinfo-asn1-binary" label="Optional ASN.1 file(s) containing masking data" help="As produced by NCBI masking applications (e.g. dustmasker, segmasker, windowmasker)" /> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
77 <!-- TODO - Option to create GI indexed masking data? via -gi_mask and -gi_mask_name? --> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
78 <!-- TAXONOMY OPTIONS --> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
79 <conditional name="tax"> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
80 <param name="taxselect" type="select" label="Taxonomy options"> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
81 <option value="">Do not assign a Taxonomy ID to the sequences</option> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
82 <option value="id">Assign the same Taxonomy ID to all the sequences</option> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
83 <!-- |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
84 <option value="map">Supply text file mapping sequence IDs to taxnomy IDs</option> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
85 --> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
86 </param> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
87 <when value=""> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
88 </when> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
89 <when value="id"> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
90 <param argument="-taxid" type="integer" min="0" value="" label="NCBI taxonomy ID" help="Integer >=0, e.g. 9606 for Homo sapiens" /> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
91 </when> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
92 <!-- TODO: File format? |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
93 <when value="map"> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
94 <param name="taxmap" argument="-taxid_map" type="data" format="txt" label="Seq ID : Tax ID mapping file" help="Format: SequenceId TaxonomyId" /> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
95 </when> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
96 --> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
97 </conditional> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
98 </inputs> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
99 <outputs> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
100 <!-- If we only accepted one FASTA file, we could use its human name here... --> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
101 <data name="outfile" format="data" label="${dbtype.value_label} BLAST database from ${on_string}"> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
102 <change_format> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
103 <when input="dbtype" value="nucl" format="blastdbn" /> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
104 <when input="dbtype" value="prot" format="blastdbp" /> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
105 </change_format> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
106 </data> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
107 </outputs> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
108 <tests> |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
109 <!-- Note the (two line) PIN file is not reproducible run to run. |
15
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
110 The same applies to the NIN file for nucleotide database. |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
111 Likewise there is a datestamp in the log file as well, so use contains comparison |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
112 With and without the masking makes no difference. |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
113 With and without the taxid the only real difference is in the *.phr file. |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
114 --> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
115 <test> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
116 <param name="dbtype" value="prot" /> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
117 <param name="input_file" value="four_human_proteins.fasta" ftype="fasta" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
118 <param name="title" value="Just 4 human proteins" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
119 <param name="parse_seqids" value="" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
120 <param name="hash_index" value="true" /> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
121 <output name="outfile" compare="contains" file="four_human_proteins.fasta.log.txt" ftype="blastdbp"> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
122 <extra_files type="file" value="four_human_proteins.fasta.phr" name="blastdb.phr" /> |
23 | 123 <extra_files type="file" value="four_human_proteins.fasta.pin" name="blastdb.pin" compare="sim_size" delta="0" /> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
124 <extra_files type="file" value="four_human_proteins.fasta.psq" name="blastdb.psq" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
125 <extra_files type="file" value="four_human_proteins.fasta.pog" name="blastdb.pog" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
126 <extra_files type="file" value="four_human_proteins.fasta.phd" name="blastdb.phd" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
127 <extra_files type="file" value="four_human_proteins.fasta.phi" name="blastdb.phi" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
128 <extra_files type="file" value="four_human_proteins.fasta.psd" name="blastdb.psd" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
129 <extra_files type="file" value="four_human_proteins.fasta.psi" name="blastdb.psi" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
130 </output> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
131 </test> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
132 <test> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
133 <param name="dbtype" value="prot" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
134 <param name="input_file" value="four_human_proteins.fasta" ftype="fasta" /> |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
135 <param name="title" value="Just 4 human proteins" /> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
136 <param name="parse_seqids" value="" /> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
137 <param name="hash_index" value="true" /> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
138 <param name="taxselect" value="id" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
139 <param name="taxid" value="9606" /> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
140 <output name="outfile" compare="contains" file="four_human_proteins_taxid.fasta.log.txt" ftype="blastdbp"> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
141 <extra_files type="file" value="four_human_proteins_taxid.fasta.phr" name="blastdb.phr" /> |
23 | 142 <extra_files type="file" value="four_human_proteins_taxid.fasta.pin" name="blastdb.pin" compare="sim_size" delta="0" /> |
13
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
143 <extra_files type="file" value="four_human_proteins_taxid.fasta.psq" name="blastdb.psq" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
144 <extra_files type="file" value="four_human_proteins_taxid.fasta.pog" name="blastdb.pog" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
145 <extra_files type="file" value="four_human_proteins_taxid.fasta.phd" name="blastdb.phd" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
146 <extra_files type="file" value="four_human_proteins_taxid.fasta.phi" name="blastdb.phi" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
147 <extra_files type="file" value="four_human_proteins_taxid.fasta.psd" name="blastdb.psd" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
148 <extra_files type="file" value="four_human_proteins_taxid.fasta.psi" name="blastdb.psi" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
149 </output> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
150 </test> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
151 <test> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
152 <param name="dbtype" value="prot" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
153 <param name="input_file" value="four_human_proteins.fasta" ftype="fasta" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
154 <param name="title" value="Just 4 human proteins" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
155 <param name="parse_seqids" value="" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
156 <param name="hash_index" value="true" /> |
623f727cdff1
Uploaded v0.1.00, uses BLAST+ 2.2.29, allows custom column selection for tabular output - including taxonomy fields.
peterjc
parents:
11
diff
changeset
|
157 <param name="mask_data_file" value="segmasker_four_human.maskinfo-asn1" ftype="maskinfo-asn1" /> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
158 <output name="outfile" compare="contains" file="four_human_proteins.fasta.log.txt" ftype="blastdbp"> |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
159 <extra_files type="file" value="four_human_proteins.fasta.phr" name="blastdb.phr" /> |
23 | 160 <extra_files type="file" value="four_human_proteins.fasta.pin" name="blastdb.pin" compare="sim_size" delta="0" /> |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
161 <extra_files type="file" value="four_human_proteins.fasta.psq" name="blastdb.psq" /> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
162 <extra_files type="file" value="four_human_proteins.fasta.pog" name="blastdb.pog" /> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
163 <extra_files type="file" value="four_human_proteins.fasta.phd" name="blastdb.phd" /> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
164 <extra_files type="file" value="four_human_proteins.fasta.phi" name="blastdb.phi" /> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
165 <extra_files type="file" value="four_human_proteins.fasta.psd" name="blastdb.psd" /> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
166 <extra_files type="file" value="four_human_proteins.fasta.psi" name="blastdb.psi" /> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
167 </output> |
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
168 </test> |
15
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
169 <test> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
170 <param name="dbtype" value="nucl" /> |
23 | 171 <param name="input_file" value="three_human_mRNA.fasta.gz" ftype="fasta.gz" /> |
15
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
172 <param name="title" value="Just 3 human mRNA sequences" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
173 <param name="parse_seqids" value="" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
174 <param name="hash_index" value="true" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
175 <param name="taxselect" value="id" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
176 <param name="taxid" value="9606" /> |
22
6f386c5dc4fb
v0.2.01 add -max_hsps, -use_sw_tback; lists args; internal updates
peterjc
parents:
20
diff
changeset
|
177 <output name="outfile" compare="contains" file="three_human_mRNA.fasta.log.txt" ftype="blastdbn"> |
15
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
178 <extra_files type="file" value="three_human_mRNA.fasta.nhr" name="blastdb.nhr" /> |
23 | 179 <extra_files type="file" value="three_human_mRNA.fasta.nin" name="blastdb.nin" compare="sim_size" delta="8" /> |
15
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
180 <extra_files type="file" value="three_human_mRNA.fasta.nsq" name="blastdb.nsq" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
181 <extra_files type="file" value="three_human_mRNA.fasta.nog" name="blastdb.nog" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
182 <extra_files type="file" value="three_human_mRNA.fasta.nhd" name="blastdb.nhd" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
183 <extra_files type="file" value="three_human_mRNA.fasta.nhi" name="blastdb.nhi" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
184 <extra_files type="file" value="three_human_mRNA.fasta.nsd" name="blastdb.nsd" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
185 <extra_files type="file" value="three_human_mRNA.fasta.nsi" name="blastdb.nsi" /> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
186 </output> |
c16c30e9ad5b
Uploaded v0.1.03 (internal changes); v0.1.02 (BLAST+ 2.2.30 etc)
peterjc
parents:
14
diff
changeset
|
187 </test> |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
188 </tests> |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
189 <help> |
5 | 190 **What it does** |
191 | |
192 Make BLAST database from one or more FASTA files and/or BLAST databases. | |
193 | |
194 This is a wrapper for the NCBI BLAST+ tool 'makeblastdb', which is the | |
195 replacement for the 'formatdb' tool in the NCBI 'legacy' BLAST suite. | |
196 | |
23 | 197 More information about makeblastdb can be found in the `BLAST Command Line Applications User Manual`_. |
198 | |
199 .. _BLAST Command Line Applications User Manual: https://www.ncbi.nlm.nih.gov/books/NBK279690/ | |
200 | |
201 | |
5 | 202 <!-- |
203 Applying masks to an existing BLAST database will not change the original database; a new database will be created. | |
204 For this reason, it's best to apply all masks at once to minimize the number of unnecessary intermediate databases. | |
205 --> | |
206 | |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
207 **References** |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
208 |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
209 If you use this Galaxy tool in work leading to a scientific publication please |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
210 cite the following papers: |
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
211 |
11
4c4a0da938ff
Uploaded v0.0.22, now wraps BLAST+ 2.2.28 allowing extended tabular output to include the hit descriptions as column 25.
peterjc
parents:
10
diff
changeset
|
212 @REFERENCES@ |
10
70e7dcbf6573
Uploaded v0.0.20, handles dependencies via package_blast_plus_2_2_26, development moved to GitHub, RST README, MIT licence, citation information, more tests, percentage identity option to BLASTN, cElementTree to ElementTree fallback.
peterjc
parents:
9
diff
changeset
|
213 </help> |
14
2fe07f50a41e
Uploaded v0.1.01 - Requires blastdbd datatype (blast_datatypes v0.0.19). Support for makeprofiledb to create protein domain databases and use them in RPS-BLAST and RPS-TBLASTN. Tools now support GI and SeqID filters, and embed the citations.
peterjc
parents:
13
diff
changeset
|
214 <expand macro="blast_citations" /> |
5 | 215 </tool> |