annotate blast_report_basic.xml @ 31:11f622d60501 draft default tip

Uploaded
author dfornika
date Tue, 03 Mar 2020 10:55:25 +0000
parents efa564587d12
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
1 <tool id="blast_report_basic" name="BLAST report" version="0.1.0+galaxy0" >
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
2 <description>Produce an HTML table report of BLAST results</description>
1
a63f676fe808 Uploaded
dfornika
parents: 0
diff changeset
3 <command>
0
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
4 <![CDATA[
4
7223a2e98bf8 Uploaded
dfornika
parents: 2
diff changeset
5 python '${__tool_directory__}/blast_report.py'
6
b8a3578b6445 Uploaded
dfornika
parents: 4
diff changeset
6 --min-identity ${min_identity}
13
456b2b3d4094 Uploaded
dfornika
parents: 11
diff changeset
7 --filter-keywords '${filter_keywords}'
0
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
8 $discard_redundant
13
456b2b3d4094 Uploaded
dfornika
parents: 11
diff changeset
9 '${tabular_blast_report_input}'
11
6650fe4db541 Uploaded
dfornika
parents: 6
diff changeset
10 '${__tool_directory__}/templates/template2.tmpl'
0
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
11 '${out_html}'
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
12 '${out_tab}'
27
efa564587d12 Uploaded
dfornika
parents: 25
diff changeset
13 #if str($reference_database_bins) != "None"
efa564587d12 Uploaded
dfornika
parents: 25
diff changeset
14 #for $name, $path in zip(str($reference_database_bins.fields.name).split(','), str($reference_database_bins.fields.path).split(',')):
efa564587d12 Uploaded
dfornika
parents: 25
diff changeset
15 -b '${name}' '${path}'
efa564587d12 Uploaded
dfornika
parents: 25
diff changeset
16 #end for
efa564587d12 Uploaded
dfornika
parents: 25
diff changeset
17 #end if
0
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
18 ]]>
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
19 </command>
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
20 <inputs>
13
456b2b3d4094 Uploaded
dfornika
parents: 11
diff changeset
21 <param name="tabular_blast_report_input" type="data" format="tabular" label="Tabular BLAST results (extended 25 columns + qcov)"/>
6
b8a3578b6445 Uploaded
dfornika
parents: 4
diff changeset
22 <param name="min_identity" type="integer" min="90" max="100" value="97" label="Minimum percentage identity"/>
13
456b2b3d4094 Uploaded
dfornika
parents: 11
diff changeset
23 <param name="filter_keywords" type="text" size="50" label="Comma-separated list of description keyword filters" value="bovine,clone,environmental,swine,uncultivated,uncultured,unidentified"/>
21
bb237fe7fb05 Uploaded
dfornika
parents: 20
diff changeset
24 <param name="reference_database_bins" type="select" label="Reference Database Bins" multiple="true" display="checkboxes">
13
456b2b3d4094 Uploaded
dfornika
parents: 11
diff changeset
25 <options from_data_table="blast_report_reference_database_bins">
0
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
26 <validator type="no_options" message="No BLAST reference bins available" />
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
27 </options>
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
28 </param>
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
29 <param name="discard_redundant" type="boolean" truevalue="-r" falsevalue="" label="Throw out redundant hits?"/>
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
30 </inputs>
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
31 <outputs>
2
0dbaa4e68866 Uploaded
dfornika
parents: 1
diff changeset
32 <data name="out_html" format="html" label="$tool.name on data $tabular_blast_report_input.hid: report"/>
0dbaa4e68866 Uploaded
dfornika
parents: 1
diff changeset
33 <data name="out_tab" format="tabular" label="$tool.name on data $tabular_blast_report_input.hid: tabular results"/>
0
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
34 </outputs>
1
a63f676fe808 Uploaded
dfornika
parents: 0
diff changeset
35 <tests>
21
bb237fe7fb05 Uploaded
dfornika
parents: 20
diff changeset
36 <test>
bb237fe7fb05 Uploaded
dfornika
parents: 20
diff changeset
37 <param name="reference_database_bins" value="test_entry"/>
bb237fe7fb05 Uploaded
dfornika
parents: 20
diff changeset
38 <param name="tabular_blast_report_input" value="NR_114042.1_vs_NCBI16SMicrobial_top20_standard25col_plus_qcovs.tsv"/>
bb237fe7fb05 Uploaded
dfornika
parents: 20
diff changeset
39 <output name="out_tab" file="NR_114042.1_vs_NCBI16SMicrobial_output_report_tabular.tsv" ftype="tabular"/>
bb237fe7fb05 Uploaded
dfornika
parents: 20
diff changeset
40 </test>
1
a63f676fe808 Uploaded
dfornika
parents: 0
diff changeset
41 </tests>
0
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
42 <help>
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
43
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
44 .. class:: infomark
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
45
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
46 **What it does**
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
47
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
48 This tool produces a HTML report for each query in a tabular BLAST file.
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
49
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
50 ----
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
51
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
52 **Tabular BLAST results**
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
53
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
54 One or more query's BLAST results in extended 26 column tabular format.
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
55
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
56 ----
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
57
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
58 **Report template**
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
59
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
60 The report template dictates the format of the HTML report.
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
61 Note that changing the template from the standard "Top 20 hits shown, toggle remainder" to "Euzby results shown first" causes
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
62 the order of the results in the HTML report and the tabular BLAST results (if outputted) to be inconsistent with each other.
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
63
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
64 ----
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
65
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
66 **Minimum percentage identity**
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
67
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
68 Filter by percentage identity. This filter is applied before the description keyword filters.
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
69
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
70 ----
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
71
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
72 **Comma-separated list of description keyword filters**
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
73
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
74 Filter by description keywords. Do not include spaces (unless your keyword is two words). These are applied
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
75 after the percentage identity filter.
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
76
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
77 ----
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
78
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
79 **Database bins**
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
80
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
81 Bin the results by accession number into "database bins."
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
82
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
83 ----
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
84
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
85 **Throw out redundant hits?**
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
86
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
87 Only the first hit for any accession number will be reported.
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
88
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
89 </help>
5dfd84907521 planemo upload for repository https://github.com/public-health-bioinformatics/galaxy_tools/blob/master/tools/blast_report_basic commit bc359460bb66db7946cc68ccbd47cd479624c4a1-dirty
dfornika
parents:
diff changeset
90 </tool>