Mercurial > repos > iuc > icescreen
comparison icescreen.xml @ 9:cca2a89210ae draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/icescreen commit c45c31257dbfd6991c86cee56bb8961e4c5cbe47
| author | iuc |
|---|---|
| date | Sun, 23 Feb 2025 16:52:34 +0000 |
| parents | 130a217f8d3f |
| children |
comparison
equal
deleted
inserted
replaced
| 8:130a217f8d3f | 9:cca2a89210ae |
|---|---|
| 1 <tool id="icescreen" name="ICEscreen" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.09"> | 1 <tool id="icescreen" name="ICEscreen" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.09"> |
| 2 <description>detects and annotates ICEs (Integrative and Conjugative Elements) and IMEs (Integrative and Mobilizable Elements) in Bacillota genomes.</description> | 2 <description>annotates ICEs and IMEs in Bacillota genomes</description> |
| 3 | |
| 3 <macros> | 4 <macros> |
| 4 <token name="@TOOL_VERSION@">1.3.1</token> | 5 <import>macros.xml</import> |
| 5 <token name="@VERSION_SUFFIX@">0</token> | |
| 6 </macros> | 6 </macros> |
| 7 <xrefs> | 7 <expand macro="xrefs"/> |
| 8 <xref type="bio.tools">icescreen</xref> | 8 <expand macro="requirements"/> |
| 9 </xrefs> | 9 |
| 10 <requirements> | |
| 11 <requirement type="package" version="@TOOL_VERSION@">icescreen</requirement> | |
| 12 <requirement type="package" version="3.0">zip</requirement> | |
| 13 </requirements> | |
| 14 <version_command><![CDATA[ | 10 <version_command><![CDATA[ |
| 15 icescreen --version | 11 icescreen --version |
| 16 ]]> | 12 ]]> |
| 17 </version_command> | 13 </version_command> |
| 18 <command detect_errors="aggressive"><![CDATA[ | 14 <command detect_errors="aggressive"><![CDATA[ |
| 19 #set $gbname = 'galaxy_genbank' | 15 #set $gbname = 'galaxy_genbank' |
| 20 mkdir -p ./tmp_icescreen/source_genbank | 16 mkdir -p ./tmp_icescreen/source_genbank |
| 17 && mkdir -p ./tmp_icescreen/icescreen_result | |
| 21 && ln -s '${genome}' ./tmp_icescreen/source_genbank/${gbname}.gb | 18 && ln -s '${genome}' ./tmp_icescreen/source_genbank/${gbname}.gb |
| 22 && icescreen | 19 && icescreen |
| 23 --galaxy | 20 --galaxy |
| 24 --gbdir ./tmp_icescreen/source_genbank | 21 --gbdir ./tmp_icescreen/source_genbank |
| 25 --outdir ./tmp_icescreen | 22 --outdir ./tmp_icescreen/icescreen_result |
| 26 --phylum '${taxonomy.phylum}' | 23 --phylum '${taxonomy.phylum}' |
| 27 --jobs "\${GALAXY_SLOTS:-4}" > ./tmp_icescreen/ICEscreen_log.txt 2>&1 | 24 --jobs "\${GALAXY_SLOTS:-4}" > ./tmp_icescreen/ICEscreen_log.txt 2>&1 |
| 28 | 25 |
| 29 && cat ./tmp_icescreen/ICEscreen_results/results/${gbname}/icescreen_detection_ME/${gbname}_detected_ME.summary > '${summary}' | 26 && cat ./tmp_icescreen/icescreen_result/ICEscreen_results/${gbname}/detected_mobile_elements/${gbname}_detected_ME.summary > '${summary}' |
| 30 && cat ./tmp_icescreen/ICEscreen_results/results/${gbname}/icescreen_detection_ME/${gbname}_detected_SP_withMEIds.tsv > '${detected_sp}' | 27 && cat ./tmp_icescreen/icescreen_result/ICEscreen_results/${gbname}/detected_mobile_elements/${gbname}_detected_SP_withMEIds.tsv > '${detected_sp}' |
| 31 && cat ./tmp_icescreen/ICEscreen_results/results/${gbname}/icescreen_detection_ME/${gbname}_detected_ME.tsv > '${detected_me}' | 28 && cat ./tmp_icescreen/icescreen_result/ICEscreen_results/${gbname}/detected_mobile_elements/${gbname}_detected_ME.tsv > '${detected_me}' |
| 32 | 29 |
| 33 #if "output_annotation_genbank" in $additional_output.optional_files: | |
| 34 && mv ./tmp_icescreen/ICEscreen_results/results/${gbname}/visualization_files/${gbname}_icescreen.gb '${gbout}' | |
| 35 #end if | |
| 36 #if "output_annotation_gff" in $additional_output.optional_files: | |
| 37 && mv ./tmp_icescreen/ICEscreen_results/results/${gbname}/visualization_files/${gbname}_icescreen.gff '${gffout}' | |
| 38 #end if | |
| 39 #if "output_annotation_embl" in $additional_output.optional_files: | |
| 40 && mv ./tmp_icescreen/ICEscreen_results/results/${gbname}/visualization_files/${gbname}_icescreen.embl '${emblout}' | |
| 41 #end if | |
| 42 #if "output_log" in $additional_output.optional_files: | |
| 43 && mv ./tmp_icescreen/ICEscreen_log.txt '${log}' | |
| 44 #end if | |
| 45 #if "output_zip_all_files" in $additional_output.optional_files: | |
| 46 && cd ./tmp_icescreen/ICEscreen_results/results/${gbname} && zip --quiet -r - -- . > '${outzip}' | |
| 47 #end if | |
| 48 ]]> | 30 ]]> |
| 49 </command> | 31 </command> |
| 50 <inputs> | 32 <inputs> |
| 51 <param name="genome" type="data" format="genbank" label="Input genomes to analyze in Genbank format" help="Multi-genbank files (i.e. gbff) are supported. Each record must include the ORIGIN nucleotide sequence at the end."/> | 33 <param name="genome" type="data" format="genbank" label="Input genomes to analyze in Genbank format" help="Multi-genbank files (i.e. gbff) are supported. Each record must include the nucleotide sequence."/> |
| 52 <section name="taxonomy" title="Phylum of the genomes to analyse" expanded="True"> | 34 <section name="taxonomy" title="Phylum of the genomes to analyse" expanded="True"> |
| 53 <param name="phylum" type="select" label="Bacillota is the defaut parameter"> | 35 <param name="phylum" type="select" label="Bacillota is the defaut parameter"> |
| 54 <option value="bacillota" selected="true">Bacillota</option> | 36 <option value="bacillota" selected="true">Bacillota</option> |
| 55 </param> | 37 </param> |
| 56 </section> | 38 </section> |
| 57 <section name="additional_output" title="Additional output files" expanded="False"> | 39 <section name="additional_output" title="Additional output files" expanded="False"> |
| 58 <param name="optional_files" type="select" label="Make the following optional files available in the Galaxy history" multiple="true" optional="true" display="checkboxes" > | 40 <param name="optional_files" type="select" label="Make the following optional files available in the Galaxy history" multiple="true" optional="true" display="checkboxes" > |
| 59 <option value="output_annotation_genbank">Genome annotation in genbank format</option> | 41 <option value="output_annotation_genbank" selected="false">Annotation in genbank format (full)</option> |
| 60 <option value="output_annotation_gff">Genome annotation in gff format</option> | 42 <option value="output_annotation_gff" selected="false">Annotation in gff format (ICEs and IMEs only)</option> |
| 61 <option value="output_annotation_embl">Genome annotation in embl format</option> | 43 <option value="output_annotation_embl" selected="false">Annotation in embl format (ICEs and IMEs only)</option> |
| 62 <option value="output_zip_all_files">Zip of all final and intermediate results</option> | 44 <option value="output_tar_gz_intermediate_files" selected="false">Archive of intermediate files</option> |
| 63 <option value="output_log">ICEscreen log</option> | 45 <option value="output_log" selected="false">Log file</option> |
| 46 <option value="output_param_conf" selected="false">Param conf file</option> | |
| 64 </param> | 47 </param> |
| 65 </section> | 48 </section> |
| 66 </inputs> | 49 </inputs> |
| 67 <outputs> | 50 <outputs> |
| 68 <data format="tabular" name="detected_sp" label="${tool.name} on ${on_string}: Signature Proteins table" /> | 51 <data format="tabular" name="detected_sp" label="${tool.name} on ${on_string}: Signature Proteins table" /> |
| 69 <data format="tabular" name="detected_me" label="${tool.name} on ${on_string}: ICEs/IMEs table" /> | 52 <data format="tabular" name="detected_me" label="${tool.name} on ${on_string}: ICEs/IMEs table" /> |
| 70 <data format="txt" name="summary" label="${tool.name} on ${on_string}: results summary" /> | 53 <data format="txt" name="summary" label="${tool.name} on ${on_string}: results summary" /> |
| 71 <data format="genbank" name="gbout" label="${tool.name} on ${on_string}: annotated genbank" > | 54 <data format="genbank.gz" name="gbout" from_work_dir="./tmp_icescreen/icescreen_result/ICEscreen_results/galaxy_genbank/detected_mobile_elements/standard_genome_annotation_formats/galaxy_genbank_icescreen.gb.gz" label="${tool.name} on ${on_string}: genbank annotation (full)" > |
| 72 <filter>additional_output['optional_files'] and "output_annotation_genbank" in additional_output['optional_files']</filter> | 55 <filter>additional_output['optional_files'] and "output_annotation_genbank" in additional_output['optional_files']</filter> |
| 73 </data> | 56 </data> |
| 74 <data format="gff3" name="gffout" label="${tool.name} on ${on_string}: annotated GFF3" > | 57 <data format="gff3.gz" name="gffout" from_work_dir="./tmp_icescreen/icescreen_result/ICEscreen_results/galaxy_genbank/detected_mobile_elements/standard_genome_annotation_formats/galaxy_genbank_icescreen.gff.gz" label="${tool.name} on ${on_string}: GFF3 annotation (ICEs and IMEs only)" > |
| 75 <filter>additional_output['optional_files'] and "output_annotation_gff" in additional_output['optional_files']</filter> | 58 <filter>additional_output['optional_files'] and "output_annotation_gff" in additional_output['optional_files']</filter> |
| 76 </data> | 59 </data> |
| 77 <data format="embl" name="emblout" label="${tool.name} on ${on_string}: annotated EMBL" > | 60 <data format="embl.gz" name="emblout" from_work_dir="./tmp_icescreen/icescreen_result/ICEscreen_results/galaxy_genbank/detected_mobile_elements/standard_genome_annotation_formats/galaxy_genbank_icescreen.embl.gz" label="${tool.name} on ${on_string}: EMBL annotation (ICEs and IMEs only)" > |
| 78 <filter>additional_output['optional_files'] and "output_annotation_embl" in additional_output['optional_files']</filter> | 61 <filter>additional_output['optional_files'] and "output_annotation_embl" in additional_output['optional_files']</filter> |
| 79 </data> | 62 </data> |
| 80 <data format="zip" name="outzip" label="${tool.name} on ${on_string}: all results zipped"> | 63 <data format="tar.gz" name="intermediate_tar_gz" from_work_dir="./tmp_icescreen/icescreen_result/ICEscreen_results/galaxy_genbank/tmp_intermediate_files.tar.gz" label="${tool.name} on ${on_string}: intermediate files archive"> |
| 81 <filter>additional_output['optional_files'] and "output_zip_all_files" in additional_output['optional_files']</filter> | 64 <filter>additional_output['optional_files'] and "output_tar_gz_intermediate_files" in additional_output['optional_files']</filter> |
| 82 </data> | 65 </data> |
| 83 <data format="txt" name="log" label="${tool.name} on ${on_string}: log file" > | 66 <data format="txt" name="log" from_work_dir="./tmp_icescreen/ICEscreen_log.txt" label="${tool.name} on ${on_string}: log file" > |
| 84 <filter>additional_output['optional_files'] and "output_log" in additional_output['optional_files']</filter> | 67 <filter>additional_output['optional_files'] and "output_log" in additional_output['optional_files']</filter> |
| 68 </data> | |
| 69 <data format="gz" name="param_conf" from_work_dir="./tmp_icescreen/icescreen_result/ICEscreen_results/galaxy_genbank/param.conf.gz" label="${tool.name} on ${on_string}: param conf file" > | |
| 70 <filter>additional_output['optional_files'] and "output_param_conf" in additional_output['optional_files']</filter> | |
| 85 </data> | 71 </data> |
| 86 </outputs> | 72 </outputs> |
| 87 <tests> | 73 <tests> |
| 88 <test expect_num_outputs="3"> | 74 <test expect_num_outputs="3"> |
| 89 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> | 75 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> |
| 100 </output> | 86 </output> |
| 101 </test> | 87 </test> |
| 102 <test expect_num_outputs="4"> | 88 <test expect_num_outputs="4"> |
| 103 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> | 89 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> |
| 104 <param name="optional_files" value="output_annotation_genbank" /> | 90 <param name="optional_files" value="output_annotation_genbank" /> |
| 105 <output name="gbout" file="NC_004668_137848_164286_icescreen.gb" ftype="genbank" /> | 91 <output name="gbout" ftype="genbank.gz"> |
| 92 <assert_contents> | |
| 93 <has_size value="19794" delta="100"/> | |
| 94 </assert_contents> | |
| 95 </output> | |
| 106 </test> | 96 </test> |
| 107 <test expect_num_outputs="4"> | 97 <test expect_num_outputs="4"> |
| 108 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> | 98 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> |
| 109 <param name="optional_files" value="output_annotation_gff" /> | 99 <param name="optional_files" value="output_annotation_gff" /> |
| 110 <output name="gffout" file="NC_004668_137848_164286_icescreen.gff" ftype="gff3" /> | 100 <output name="gffout" ftype="gff3.gz"> |
| 101 <assert_contents> | |
| 102 <has_size value="794" delta="100"/> | |
| 103 </assert_contents> | |
| 104 </output> | |
| 111 </test> | 105 </test> |
| 112 <test expect_num_outputs="4"> | 106 <test expect_num_outputs="4"> |
| 113 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> | 107 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> |
| 114 <param name="optional_files" value="output_annotation_embl" /> | 108 <param name="optional_files" value="output_annotation_embl" /> |
| 115 <output name="emblout" file="NC_004668_137848_164286_icescreen.embl" ftype="embl" /> | 109 <output name="emblout" ftype="embl.gz"> |
| 116 </test> | 110 <assert_contents> |
| 117 <test expect_num_outputs="4"> | 111 <has_size value="1002" delta="100"/> |
| 118 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> | 112 </assert_contents> |
| 119 <param name="optional_files" value="output_zip_all_files" /> | 113 </output> |
| 120 <output name="outzip" > | 114 </test> |
| 121 <assert_contents> | 115 <test expect_num_outputs="4"> |
| 122 <has_archive_member path=".*/*_detected_SP_withMEIds.tsv"><has_text text="ICE_IME_id" /></has_archive_member> | 116 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> |
| 117 <param name="optional_files" value="output_tar_gz_intermediate_files" /> | |
| 118 <output name="intermediate_tar_gz" > | |
| 119 <assert_contents> | |
| 120 <has_archive_member path=".*/*_detected_SP.tsv"><has_text text="Is_hit_blast" /></has_archive_member> | |
| 123 </assert_contents> | 121 </assert_contents> |
| 124 </output> | 122 </output> |
| 125 </test> | 123 </test> |
| 126 <test expect_num_outputs="4"> | 124 <test expect_num_outputs="4"> |
| 127 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> | 125 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> |
| 144 <has_text text="bacillota" /> | 142 <has_text text="bacillota" /> |
| 145 <not_has_text text="Error" /> | 143 <not_has_text text="Error" /> |
| 146 </assert_contents> | 144 </assert_contents> |
| 147 </output> | 145 </output> |
| 148 </test> | 146 </test> |
| 149 <test expect_num_outputs="5"> | 147 <test expect_num_outputs="6"> |
| 150 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> | 148 <param name="genome" value="genbank/NC_004668_137848_164286.gb" ftype="genbank" /> |
| 151 <param name="phylum" value="bacillota" /> | 149 <param name="phylum" value="bacillota" /> |
| 152 <param name="optional_files" value="output_zip_all_files,output_log" /> | 150 <param name="optional_files" value="output_tar_gz_intermediate_files,output_log,output_param_conf" /> |
| 153 <output name="log" > | 151 <output name="log" > |
| 154 <assert_contents> | 152 <assert_contents> |
| 155 <has_text text="bacillota" /> | 153 <has_text text="bacillota" /> |
| 156 <not_has_text text="Error" /> | 154 <not_has_text text="Error" /> |
| 157 </assert_contents> | 155 </assert_contents> |
| 171 </test> | 169 </test> |
| 172 </tests> | 170 </tests> |
| 173 <help><![CDATA[ | 171 <help><![CDATA[ |
| 174 .. class:: warningmark | 172 .. class:: warningmark |
| 175 | 173 |
| 176 ICEscreen requires input files in genbank format. Multigenbank files (i.e. gbff files featuring multiple genome records back to back) are supported. Each Genbank record must include the ORIGIN nucleotide sequence. | 174 ICEscreen requires input files in genbank format. Multigenbank files (i.e. gbff files featuring multiple genome records back to back) are supported. Each Genbank record must include the nucleotide sequence. |
| 177 | 175 |
| 178 ----- | 176 ----- |
| 179 | 177 |
| 180 **What it does** | 178 **What it does** |
| 181 | 179 |
| 196 - Detected ICEs/IMEs table (`*_detected_ME.tsv`): list of the ICEs and IMEs elements detected by the tool, including information about the signature proteins they contain. Information in this file is complementary to the _withICEIMEIds.csv file above with each line representing an ICE / IME structures instead of a signature protein. | 194 - Detected ICEs/IMEs table (`*_detected_ME.tsv`): list of the ICEs and IMEs elements detected by the tool, including information about the signature proteins they contain. Information in this file is complementary to the _withICEIMEIds.csv file above with each line representing an ICE / IME structures instead of a signature protein. |
| 197 - Results summary (`*_detected_ME.summary`): this file summarizes the main parameters and statistics regarding the ICE / IME structures and the SPs. | 195 - Results summary (`*_detected_ME.summary`): this file summarizes the main parameters and statistics regarding the ICE / IME structures and the SPs. |
| 198 | 196 |
| 199 Other optional and additional output files generated by ICEscreen: | 197 Other optional and additional output files generated by ICEscreen: |
| 200 | 198 |
| 201 - Annotated Genbank, EMBL, and GFF3 files: tose files contains the annotations of the original Genbank file in addition to annotations added by ICEscreen such as ICEscreen signature proteins and mobile elements. | 199 - Genbank annotation file (full): annotations of the original Genbank file as well as annotations of ICEscreen on ICEs, IMEs, and the detected signature proteins. |
| 202 - All results zipped file: You can download this file locally and unzip it to have the complete output folder generated by the tool, including intermediate processing files. See https://icescreen.migale.inrae.fr for details. | 200 - EMBL and GFF3 annotation files (ICEs and IMEs only): annotations of ICEscreen on ICEs, IMEs, and the detected signature proteins. |
| 203 - Log file (`*_detected_ME.log`): this file contains the detailed internal details used by ICEscreen to generate the results and logs of each step of the ICEscreen tool pipeline. | 201 - Intermediate files (tar.gz): You can download this file locally and uncompress it to have the intermediate files generated by the tool. See https://icescreen.migale.inrae.fr for details. |
| 202 - Log file (`*_detected_ME.log`): this file contains the log of each step of the ICEscreen pipeline. | |
| 203 - Param conf file (`param.conf.gz`): this file contains the configuration parameters related to the ICEscreen run. | |
| 204 | 204 |
| 205 ]]> | 205 ]]> |
| 206 | 206 |
| 207 </help> | 207 </help> |
| 208 <citations> | 208 |
| 209 <citation type="bibtex">@UNPUBLISHED{Kim07aninterior-point, | 209 <expand macro="citation"/> |
| 210 author = {Julie Lao and Thomas Lacroix and Gérard Guédon and Charles Coluzzi and Nathalie Leblond-Bourget and Hélène Chiapello}, | 210 |
| 211 title = {"See our latest publication at https://icescreen.migale.inrae.fr."} | |
| 212 } | |
| 213 </citation> | |
| 214 </citations> | |
| 215 </tool> | 211 </tool> |
