Mercurial > repos > devteam > ncbi_blast_plus
annotate tools/ncbi_blast_plus/ncbi_segmasker_wrapper.xml @ 0:432ea9614cc9 draft
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
author | peterjc |
---|---|
date | Fri, 30 Jan 2015 08:27:28 -0500 |
parents | |
children | e98f6bd363ba |
rev | line source |
---|---|
0
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
1 <tool id="ncbi_segmasker_wrapper" name="NCBI BLAST+ segmasker" version="0.1.02"> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
2 <description>low-complexity regions in protein sequences</description> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
3 <macros> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
4 <token name="@BINARY@">segmasker</token> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
5 <import>ncbi_macros.xml</import> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
6 </macros> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
7 <expand macro="requirements" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
8 <command> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
9 ## The command is a Cheetah template which allows some Python based syntax. |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
10 ## Lines starting hash hash are comments. Galaxy will turn newlines into spaces |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
11 segmasker |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
12 #if $db_opts.db_opts_selector == "db": |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
13 -in "${db_opts.database.fields.path}" -infmt blastdb |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
14 #elif $db_opts.db_opts_selector == "histdb": |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
15 -in "${os.path.join($db_opts.histdb.files_path, 'blastdb')}" -infmt blastdb |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
16 #else: |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
17 -in "$subject" -infmt fasta |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
18 #end if |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
19 -out "$outfile" |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
20 -window $window |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
21 -locut $locut |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
22 -hicut $hicut |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
23 -outfmt $outformat |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
24 </command> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
25 <expand macro="stdio" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
26 <inputs> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
27 <expand macro="input_conditional_protein_db" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
28 <param name="window" type="integer" value="12" label="SEG window length" help="(-window)" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
29 <param name="locut" type="float" value="2.2" label="SEG low cutoff" help="(-locut)" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
30 <param name="hicut" type="float" value="2.5" label="SEG high cutoff" help="(-hicut)" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
31 <param name="outformat" type="select" label="Output format"> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
32 <!-- seqloc_* formats are not very useful |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
33 and what BLAST+ calls 'interval' is not what Galaxy calls interval format |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
34 --> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
35 <option value="fasta">FASTA</option> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
36 <option value="maskinfo_asn1_bin">maskinfo ASN.1 binary</option> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
37 <option value="maskinfo_asn1_text" selected="true">maskinfo ASN.1 text</option> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
38 <option value="maskinfo_xml">maskinfo_xml</option> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
39 </param> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
40 </inputs> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
41 <outputs> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
42 <data name="outfile" format="maskinfo-asn1" label="SEG Masked File"> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
43 <change_format> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
44 <when input="outformat" value="fasta" format="fasta" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
45 <when input="outformat" value="maskinfo_asn1_bin" format="maskinfo-asn1-binary" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
46 <!-- |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
47 <when input="outformat" value="maskinfo_asn1_text" format="maskinfo-asn1" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
48 --> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
49 <when input="outformat" value="maskinfo_xml" format="xml" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
50 </change_format> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
51 </data> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
52 </outputs> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
53 <tests> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
54 <test> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
55 <param name="db_opts_selector" value="file" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
56 <param name="subject" value="four_human_proteins.fasta" ftype="fasta" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
57 <param name="window" value="12" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
58 <param name="locut" value="2.2" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
59 <param name="hicut" value="2.5" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
60 <param name="outformat" value="fasta" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
61 <output name="outfile" file="segmasker_four_human.fasta" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
62 </test> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
63 <test> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
64 <param name="db_opts_selector" value="file" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
65 <param name="subject" value="four_human_proteins.fasta" ftype="fasta" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
66 <param name="window" value="12" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
67 <param name="locut" value="2.2" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
68 <param name="hicut" value="2.5" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
69 <param name="outformat" value="maskinfo_asn1_bin" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
70 <output name="outfile" file="segmasker_four_human.maskinfo-asn1-binary" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
71 </test> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
72 <test> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
73 <param name="db_opts_selector" value="file" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
74 <param name="subject" value="four_human_proteins.fasta" ftype="fasta" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
75 <param name="window" value="12" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
76 <param name="locut" value="2.2" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
77 <param name="hicut" value="2.5" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
78 <param name="outformat" value="maskinfo_asn1_text" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
79 <output name="outfile" file="segmasker_four_human.maskinfo-asn1" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
80 </test> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
81 </tests> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
82 <help> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
83 **What it does** |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
84 |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
85 This tool identifies and masks out low complexity regions of a protein database (or proteins in FASTA format) by using the SEG_ algorithm. |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
86 |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
87 If you select *maskinfo ASN.1* (binary or text) as output format, the output file can be used as masking data for NCBI BLAST+ makeblastdb tool. |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
88 |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
89 More information about segmasker can be found in the `BLAST Command Line Applications User Manual`_. |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
90 |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
91 .. _BLAST Command Line Applications User Manual: http://www.ncbi.nlm.nih.gov/books/NBK1763/ |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
92 .. _SEG: http://www.ncbi.nlm.nih.gov/pubmed/8743706 |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
93 |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
94 **References** |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
95 |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
96 If you use this Galaxy tool in work leading to a scientific publication please |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
97 cite the following papers: |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
98 |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
99 @REFERENCES@ |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
100 </help> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
101 <expand macro="blast_citations" /> |
432ea9614cc9
Uploaded v0.1.02 preview 1, using tool_data_table_conf.xml for loc files, etc
peterjc
parents:
diff
changeset
|
102 </tool> |