Mercurial > repos > mkh > ips5
comparison interproscan5/ips5.xml @ 3:74cf3f49f10c draft
Better HTML index.
author | mkh |
---|---|
date | Tue, 02 Feb 2016 12:27:19 -0500 |
parents | d1d34608dba0 |
children | 6574eb46426d |
comparison
equal
deleted
inserted
replaced
2:d1d34608dba0 | 3:74cf3f49f10c |
---|---|
1 <tool id="ips5" name="Interproscan functional predictions of ORFs" version="5.0.0mkh"> | 1 <tool id="ips5" name="Interproscan functional predictions of ORFs" version="5.0.1mkh"> |
2 <description>Interproscan functional predictions of ORFs.</description> | 2 <description>Interproscan functional predictions of ORFs.</description> |
3 <requirements> | 3 <requirements> |
4 <!-- | 4 <!-- |
5 <requirement type="package">signalp</requirement> | 5 <requirement type="package">signalp</requirement> |
6 <requirement type="package">phobius</requirement> | 6 <requirement type="package">phobius</requirement> |
25 $iprlookup | 25 $iprlookup |
26 $mode | 26 $mode |
27 --output-file-base __base__ | 27 --output-file-base __base__ |
28 2>&1; | 28 2>&1; |
29 | 29 |
30 #if 'tsv' in str($output_types): | 30 mv __base__.tsv $tsv_file; |
31 mv __base__.tsv $tsv_file; | |
32 #end if | |
33 | 31 |
34 #if 'gff3' in str($output_types): | 32 #if 'gff3' in str($output_types): |
35 mv __base__.gff3 $gff3_file; | 33 mv __base__.gff3 $gff3_file; |
36 #end if | 34 #end if |
37 | 35 |
41 | 39 |
42 #if 'html' in str($output_types): | 40 #if 'html' in str($output_types): |
43 mkdir -p $html_file.files_path; | 41 mkdir -p $html_file.files_path; |
44 #set temp_archive_file = '__base__.html.tar.gz' | 42 #set temp_archive_file = '__base__.html.tar.gz' |
45 tar -C $html_file.files_path -xvmzf $temp_archive_file; | 43 tar -C $html_file.files_path -xvmzf $temp_archive_file; |
46 python \$INTERPROSCAN_SCRIPT_PATH/interproscan5/create_index.py $html_file $html_file.files_path; | 44 #if str($seqtype) == 'p' and not str($getorfed): |
45 python \$INTERPROSCAN_SCRIPT_PATH/interproscan5/create_html_index.py 0 $tsv_file $html_file $html_file.files_path; | |
46 #else | |
47 python \$INTERPROSCAN_SCRIPT_PATH/interproscan5/create_html_index.py 1 $tsv_file $html_file $html_file.files_path; | |
48 #end if | |
47 rm $temp_archive_file; | 49 rm $temp_archive_file; |
48 #end if | 50 #end if |
49 | 51 |
50 #if 'svg' in str($output_types): | 52 #if 'svg' in str($output_types): |
51 mkdir -p $svg_file.files_path; | 53 mkdir -p $svg_file.files_path; |
52 #set temp_archive_file = '__base__.svg.tar.gz' | 54 #set temp_archive_file = '__base__.svg.tar.gz' |
53 tar -C $svg_file.files_path -xvmzf $temp_archive_file; | 55 tar -C $svg_file.files_path -xvmzf $temp_archive_file; |
54 python \$INTERPROSCAN_SCRIPT_PATH/interproscan5/create_index.py $svg_file $svg_file.files_path; | 56 #if str($seqtype) == 'p' and not str($getorfed): |
57 python \$INTERPROSCAN_SCRIPT_PATH/interproscan5/create_html_index.py 0 $tsv_file $svg_file $svg_file.files_path; | |
58 #else | |
59 python \$INTERPROSCAN_SCRIPT_PATH/interproscan5/create_html_index.py 1 $tsv_file $svg_file $svg_file.files_path; | |
60 #end if | |
55 rm $temp_archive_file; | 61 rm $temp_archive_file; |
56 #end if | 62 #end if |
57 | 63 |
58 echo "End timestamp: \$(date)" | 64 echo "End timestamp: \$(date)" |
59 </command> | 65 </command> |
63 | 69 |
64 <param name="seqtype" type="select" label="Type of the input sequences" help=""> | 70 <param name="seqtype" type="select" label="Type of the input sequences" help=""> |
65 <option value="p" selected="true">Protein</option> | 71 <option value="p" selected="true">Protein</option> |
66 <option value="n">DNA / RNA</option> | 72 <option value="n">DNA / RNA</option> |
67 </param> | 73 </param> |
74 | |
75 <param name="getorfed" type="boolean" label="DNA/RNA was externally processed by getorf?" help="Ignored for DNA inputs." | |
76 truevalue="getorfed" | |
77 falsevalue=""/> | |
68 | 78 |
69 <param name="mode" type="boolean" label="Run on cluster?" help="Check to submit job to cluster." | 79 <param name="mode" type="boolean" label="Run on cluster?" help="Check to submit job to cluster." |
70 truevalue="--mode=cluster --clusterrunid=gtdi-ips-analysis" | 80 truevalue="--mode=cluster --clusterrunid=gtdi-ips-analysis" |
71 falsevalue=""/> | 81 falsevalue=""/> |
72 | 82 |
106 | 116 |
107 <param name="iprlookup" truevalue="--iprlookup" falsevalue="" checked="False" type="boolean" | 117 <param name="iprlookup" truevalue="--iprlookup" falsevalue="" checked="False" type="boolean" |
108 label="Provide additional mappings" | 118 label="Provide additional mappings" |
109 help="Provide mappings from matched member database signatures to the InterPro entries that they are integrated into (--iprlookup)"/> | 119 help="Provide mappings from matched member database signatures to the InterPro entries that they are integrated into (--iprlookup)"/> |
110 | 120 |
111 <param name="output_types" type="select" display="checkboxes" multiple="true" label="Output formats" | 121 <param name="output_types" type="select" display="checkboxes" multiple="true" label="Output formats (in addition to TSV)" |
112 help="Select the output formats to generate (at least one)"> | 122 help="Select the output formats to generate (at least one)"> |
113 <option value="tsv" selected="true">Raw (TSV)</option> | |
114 <option value="html" selected="true">HTML (Graphical)</option> | 123 <option value="html" selected="true">HTML (Graphical)</option> |
115 <option value="svg" selected="false">SVG (Scalable Vector Graphics)</option> | 124 <option value="svg" selected="false">SVG (Scalable Vector Graphics)</option> |
116 <option value="gff3" selected="true">GFF3</option> | 125 <option value="gff3" selected="true">GFF3</option> |
117 <option value="xml" selected="false">XML</option> | 126 <option value="xml" selected="false">XML</option> |
118 </param> | 127 </param> |
119 </inputs> | 128 </inputs> |
120 | 129 |
121 <outputs> | 130 <outputs> |
122 <data format="tabular" name="tsv_file" label="Interproscan TSV on ${on_string}"> | 131 <data format="tabular" name="tsv_file" label="Interproscan TSV on ${on_string}"/> |
123 <filter>'tsv' in output_types</filter> | |
124 </data> | |
125 <data format="html" name="html_file" label="Interproscan HTML on ${on_string}"> | 132 <data format="html" name="html_file" label="Interproscan HTML on ${on_string}"> |
126 <filter>'html' in output_types</filter> | 133 <filter>'html' in output_types</filter> |
127 </data> | 134 </data> |
128 <data format="html" name="svg_file" label="Interproscan SVG on ${on_string}"> | 135 <data format="html" name="svg_file" label="Interproscan SVG on ${on_string}"> |
129 <filter>'svg' in output_types</filter> | 136 <filter>'svg' in output_types</filter> |