Mercurial > repos > iuc > bakta
diff bakta.xml @ 5:728dacaf08a9 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/bakta commit 5ab93133efa5de410e992919c4e841807fb43b55
author | iuc |
---|---|
date | Sat, 16 Sep 2023 09:01:39 +0000 |
parents | 3f0aa1b3e816 |
children | 92eee5f31117 |
line wrap: on
line diff
--- a/bakta.xml Mon Jul 24 11:22:16 2023 +0000 +++ b/bakta.xml Sat Sep 16 09:01:39 2023 +0000 @@ -212,139 +212,145 @@ </outputs> <tests> <test expect_num_outputs="13"> <!-- TEST_1 database + input --> - <section name="input_option" > - <param name="bakta_db_select" value="V5.0_2022-08-19"/> - <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> - <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> - <param name="min_contig_length" value="250"/> - </section> - <section name="output_files"> - <param name="output_selection" value="file_tsv,file_gff3,file_gbff,file_embl,file_fna,file_ffn,file_faa,hypo_tsv,hypo_fa,sum_txt,file_json,file_plot,log_txt"/> - </section> - <output name="annotation_tsv" value="TEST_1/TEST_1.tsv" lines_diff="2"/> - <output name="annotation_gff3" value="TEST_1/TEST_1.gff3" lines_diff="2"/> - <output name="annotation_gbff" value="TEST_1/TEST_1.gbff" lines_diff="8"/> - <output name="annotation_embl" value="TEST_1/TEST_1.embl" lines_diff="6"/> - <output name="annotation_fna" value="TEST_1/TEST_1.fna"/> - <output name="annotation_ffn" value="TEST_1/TEST_1.ffn"/> - <output name="annotation_faa" value="TEST_1/TEST_1.faa"/> - <output name="hypotheticals_tsv" value="TEST_1/TEST_1.hypotheticals.tsv" lines_diff="4"/> - <output name="hypotheticals_faa" value="TEST_1/TEST_1.hypotheticals.faa"/> - <output name="summary_txt" value="TEST_1/TEST_1.txt" lines_diff="4"/> - <output name="annotation_plot" value="TEST_1/TEST_1_plot.svg" ftype="svg" compare="sim_size"/> - <output name="annotation_json" value="TEST_1/TEST_1.json" lines_diff="6"/> - <output name="logfile" value="TEST_1/TEST_1.log" lines_diff="15"/> - </test> - <test expect_num_outputs="4"> <!-- TEST_2 another input, add organism info some annotations and skip 2 steps --> - <section name="input_option" > - <param name="bakta_db_select" value="V5.0_2022-08-19"/> - <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> - <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> - <param name="min_contig_length" value="250"/> - </section> - <section name="organism"> - <param name="genus" value="Escherichia"/> - <param name="species" value="coli O157:H7"/> - <param name="strain" value="Sakai"/> - <param name="plasmid" value="pOSAK1"/> - </section> - <section name="annotation"> - <param name="keep_contig_headers" value="true"/> - </section> - <section name="workflow"> - <param name="skip_analysis" value="--skip-trna,--skip-tmrna"/> - </section> - <output name="annotation_tsv" value="TEST_2/TEST_2.tsv" lines_diff="4"> - <assert_contents> - <has_text_matching expression="IHHALP_00005"/> - </assert_contents> - </output> - <output name="annotation_gff3" value="TEST_2/TEST_2.gff3" lines_diff="4"> - <assert_contents> - <has_text_matching expression="ID=NC_002127.1;Name=NC_002127.1;Is_circular=true"/> - </assert_contents> - </output> - <output name="annotation_ffn" value="TEST_2/TEST_2.ffn"/> - <output name="annotation_plot" value="TEST_2/TEST_2_plot.svg" ftype="svg" compare="sim_size"/> - </test> - <test expect_num_outputs="4"> <!-- TEST_3 test all skip steps --> - <section name="input_option" > - <param name="bakta_db_select" value="V5.0_2022-08-19"/> - <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> - <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> - <param name="min_contig_length" value="350"/> - </section> - <section name="workflow"> - <param name="skip_analysis" value="--skip-trna,--skip-tmrna,--skip-rrna,--skip-ncrna,--skip-ncrna-region,--skip-crispr,--skip-cds,--skip-sorf,--skip-gap,--skip-ori,--skip-plot"/> - </section> - <output name="annotation_tsv" value="TEST_3/TEST_3.tsv" lines_diff="4"/> - <output name="annotation_gff3" value="TEST_3/TEST_3.gff3" lines_diff="4"/> - <output name="annotation_ffn" value="TEST_3/TEST_3.ffn"/> - </test> - <test expect_num_outputs="4"> <!-- TEST_4 annotations --> - <section name="input_option" > - <param name="bakta_db_select" value="V5.0_2022-08-19"/> - <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> - <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> - </section> - <section name="annotation"> - <param name="complete" value="true"/> - <param name="prodigal" value="prodigal.tf"/> - <param name="translation_table" value="4"/> - <param name="replicons" value="replicons.tsv" ftype="tabular"/> - <param name="compliant" value="true"/> - <param name="proteins" value="user-proteins.faa" ftype="fasta"/> - </section> - <output name="annotation_tsv" value="TEST_4/TEST_4.tsv" lines_diff="4"/> - <output name="annotation_gff3" value="TEST_4/TEST_4.gff3" lines_diff="4"/> - <output name="annotation_ffn" value="TEST_4/TEST_4.ffn"/> - <output name="annotation_plot" value="TEST_4/TEST_4_plot.svg" ftype="svg" compare="sim_size"/> - </test> - <test expect_num_outputs="2"> <!-- TEST_5 skip all steps and keep only the logfile and summary --> - <section name="input_option" > - <param name="bakta_db_select" value="V5.0_2022-08-19"/> - <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> - <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> - </section> - <section name="annotation"> - <param name="complete" value="true"/> - <param name="translation_table" value="4"/> - </section> - <section name="workflow"> - <param name="skip_analysis" value="--skip-trna,--skip-tmrna,--skip-rrna,--skip-ncrna,--skip-ncrna-region,--skip-crispr,--skip-cds,--skip-sorf,--skip-gap,--skip-ori,--skip-plot"/> - </section> - <section name="output_files"> - <param name="output_selection" value="log_txt,sum_txt"/> - </section> - <output name="logfile" value="TEST_5/TEST_5.log" lines_diff="13"/> - <output name="summary_txt" value="TEST_5/TEST_5.txt" lines_diff="4"/> - </test> - <test expect_num_outputs="13"> <!-- TEST_6 metagenome option --> + <section name="input_option" > + <param name="bakta_db_select" value="V5.0_2022-08-19"/> + <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> + <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> + <param name="min_contig_length" value="250"/> + </section> + <section name="output_files"> + <param name="output_selection" value="file_tsv,file_gff3,file_gbff,file_embl,file_fna,file_ffn,file_faa,hypo_tsv,hypo_fa,sum_txt,file_json,file_plot,log_txt"/> + </section> + <output name="annotation_tsv" value="TEST_1/TEST_1.tsv" lines_diff="2"/> + <output name="annotation_gff3" value="TEST_1/TEST_1.gff3" lines_diff="2"/> + <output name="annotation_gbff" value="TEST_1/TEST_1.gbff" lines_diff="8"/> + <output name="annotation_embl" value="TEST_1/TEST_1.embl" lines_diff="6"/> + <output name="annotation_fna" value="TEST_1/TEST_1.fna"/> + <output name="annotation_ffn" value="TEST_1/TEST_1.ffn"/> + <output name="annotation_faa" value="TEST_1/TEST_1.faa"/> + <output name="hypotheticals_tsv" value="TEST_1/TEST_1.hypotheticals.tsv" lines_diff="4"/> + <output name="hypotheticals_faa" value="TEST_1/TEST_1.hypotheticals.faa"/> + <output name="summary_txt" value="TEST_1/TEST_1.txt" lines_diff="4"/> + <output name="annotation_plot" value="TEST_1/TEST_1_plot.svg" ftype="svg" compare="sim_size"/> + <output name="annotation_json" value="TEST_1/TEST_1.json" lines_diff="6"/> + <output name="logfile" ftype="txt"> + <expand macro="assert_content_test"/> + </output> + </test> + <test expect_num_outputs="4"> <!-- TEST_2 another input, add organism info some annotations and skip 2 steps --> + <section name="input_option" > + <param name="bakta_db_select" value="V5.0_2022-08-19"/> + <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> + <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> + <param name="min_contig_length" value="250"/> + </section> + <section name="organism"> + <param name="genus" value="Escherichia"/> + <param name="species" value="coli O157:H7"/> + <param name="strain" value="Sakai"/> + <param name="plasmid" value="pOSAK1"/> + </section> + <section name="annotation"> + <param name="keep_contig_headers" value="true"/> + </section> + <section name="workflow"> + <param name="skip_analysis" value="--skip-trna,--skip-tmrna"/> + </section> + <output name="annotation_tsv" value="TEST_2/TEST_2.tsv" lines_diff="4"> + <assert_contents> + <has_text_matching expression="IHHALP_00005"/> + </assert_contents> + </output> + <output name="annotation_gff3" value="TEST_2/TEST_2.gff3" lines_diff="4"> + <assert_contents> + <has_text_matching expression="ID=NC_002127.1;Name=NC_002127.1;Is_circular=true"/> + </assert_contents> + </output> + <output name="annotation_ffn" value="TEST_2/TEST_2.ffn"/> + <output name="annotation_plot" value="TEST_2/TEST_2_plot.svg" ftype="svg" compare="sim_size"/> + </test> + <test expect_num_outputs="4"> <!-- TEST_3 test all skip steps --> <section name="input_option" > <param name="bakta_db_select" value="V5.0_2022-08-19"/> <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> + <param name="min_contig_length" value="350"/> </section> - <section name="annotation"> - <param name="meta" value="true"/> - </section> - <section name="output_files"> - <param name="output_selection" value="file_tsv,file_gff3,file_gbff,file_embl,file_fna,file_ffn,file_faa,hypo_tsv,hypo_fa,sum_txt,file_json,file_plot,log_txt"/> + <section name="workflow"> + <param name="skip_analysis" value="--skip-trna,--skip-tmrna,--skip-rrna,--skip-ncrna,--skip-ncrna-region,--skip-crispr,--skip-cds,--skip-sorf,--skip-gap,--skip-ori,--skip-plot"/> </section> - <output name="annotation_tsv" value="TEST_6/TEST_6.tsv" lines_diff="2"/> - <output name="annotation_gff3" value="TEST_6/TEST_6.gff3" lines_diff="2"/> - <output name="annotation_gbff" value="TEST_6/TEST_6.gbff" lines_diff="8"/> - <output name="annotation_embl" value="TEST_6/TEST_6.embl" lines_diff="6"/> - <output name="annotation_fna" value="TEST_6/TEST_6.fna"/> - <output name="annotation_ffn" value="TEST_6/TEST_6.ffn"/> - <output name="annotation_faa" value="TEST_6/TEST_6.faa"/> - <output name="hypotheticals_tsv" value="TEST_6/TEST_6.hypotheticals.tsv" lines_diff="4"/> - <output name="hypotheticals_faa" value="TEST_6/TEST_6.hypotheticals.faa"/> - <output name="summary_txt" value="TEST_6/TEST_6.txt" lines_diff="4"/> - <output name="annotation_plot" value="TEST_6/TEST_6_plot.svg" ftype="svg" compare="sim_size"/> - <output name="annotation_json" value="TEST_6/TEST_6.json" lines_diff="6"/> - <output name="logfile" value="TEST_6/TEST_6.log" lines_diff="15"/> - </test> + <output name="annotation_tsv" value="TEST_3/TEST_3.tsv" lines_diff="4"/> + <output name="annotation_gff3" value="TEST_3/TEST_3.gff3" lines_diff="4"/> + <output name="annotation_ffn" value="TEST_3/TEST_3.ffn"/> + </test> + <test expect_num_outputs="4"> <!-- TEST_4 annotations --> + <section name="input_option" > + <param name="bakta_db_select" value="V5.0_2022-08-19"/> + <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> + <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> + </section> + <section name="annotation"> + <param name="complete" value="true"/> + <param name="prodigal" value="prodigal.tf"/> + <param name="translation_table" value="4"/> + <param name="replicons" value="replicons.tsv" ftype="tabular"/> + <param name="compliant" value="true"/> + <param name="proteins" value="user-proteins.faa" ftype="fasta"/> + </section> + <output name="annotation_tsv" value="TEST_4/TEST_4.tsv" lines_diff="4"/> + <output name="annotation_gff3" value="TEST_4/TEST_4.gff3" lines_diff="4"/> + <output name="annotation_ffn" value="TEST_4/TEST_4.ffn"/> + <output name="annotation_plot" value="TEST_4/TEST_4_plot.svg" ftype="svg" compare="sim_size"/> + </test> + <test expect_num_outputs="2"> <!-- TEST_5 skip all steps and keep only the logfile and summary --> + <section name="input_option" > + <param name="bakta_db_select" value="V5.0_2022-08-19"/> + <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> + <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> + </section> + <section name="annotation"> + <param name="complete" value="true"/> + <param name="translation_table" value="4"/> + </section> + <section name="workflow"> + <param name="skip_analysis" value="--skip-trna,--skip-tmrna,--skip-rrna,--skip-ncrna,--skip-ncrna-region,--skip-crispr,--skip-cds,--skip-sorf,--skip-gap,--skip-ori,--skip-plot"/> + </section> + <section name="output_files"> + <param name="output_selection" value="log_txt,sum_txt"/> + </section> + <output name="logfile" ftype="txt"> + <expand macro="assert_content_test"/> + </output> + <output name="summary_txt" value="TEST_5/TEST_5.txt" lines_diff="4"/> + </test> + <test expect_num_outputs="13"> <!-- TEST_6 metagenome option --> + <section name="input_option" > + <param name="bakta_db_select" value="V5.0_2022-08-19"/> + <param name="amrfinder_db_select" value="V3.6-2020-03-20.1"/> + <param name="input_file" value="NC_002127.1.fna" ftype="fasta"/> + </section> + <section name="annotation"> + <param name="meta" value="true"/> + </section> + <section name="output_files"> + <param name="output_selection" value="file_tsv,file_gff3,file_gbff,file_embl,file_fna,file_ffn,file_faa,hypo_tsv,hypo_fa,sum_txt,file_json,file_plot,log_txt"/> + </section> + <output name="annotation_tsv" value="TEST_6/TEST_6.tsv" lines_diff="2"/> + <output name="annotation_gff3" value="TEST_6/TEST_6.gff3" lines_diff="2"/> + <output name="annotation_gbff" value="TEST_6/TEST_6.gbff" lines_diff="8"/> + <output name="annotation_embl" value="TEST_6/TEST_6.embl" lines_diff="6"/> + <output name="annotation_fna" value="TEST_6/TEST_6.fna"/> + <output name="annotation_ffn" value="TEST_6/TEST_6.ffn"/> + <output name="annotation_faa" value="TEST_6/TEST_6.faa"/> + <output name="hypotheticals_tsv" value="TEST_6/TEST_6.hypotheticals.tsv" lines_diff="4"/> + <output name="hypotheticals_faa" value="TEST_6/TEST_6.hypotheticals.faa"/> + <output name="summary_txt" value="TEST_6/TEST_6.txt" lines_diff="4"/> + <output name="annotation_plot" value="TEST_6/TEST_6_plot.svg" ftype="svg" compare="sim_size"/> + <output name="annotation_json" value="TEST_6/TEST_6.json" lines_diff="6"/> + <output name="logfile" ftype="txt"> + <expand macro="assert_content_test"/> + </output> + </test> </tests> <help><![CDATA[**What it does** Bakta is a tool for the rapid & standardized annotation of bacterial genomes and plasmids from both isolates and MAGs.