Mercurial > repos > iuc > miniprot
changeset 6:20d725740701 draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/miniprot commit fee066da2d0836fe14b7243fc108ddde0e23e248
| author | iuc |
|---|---|
| date | Tue, 15 Jul 2025 18:28:26 +0000 |
| parents | 6b20d051d0dc |
| children | |
| files | macros.xml miniprot.xml test-data/output_spsc.gff test-data/spsc.tsv |
| diffstat | 4 files changed, 1275 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/macros.xml Thu Mar 28 17:28:56 2024 +0000 +++ b/macros.xml Tue Jul 15 18:28:26 2025 +0000 @@ -1,5 +1,5 @@ <macros> - <token name="@TOOL_VERSION@">0.13</token> + <token name="@TOOL_VERSION@">0.18</token> <token name="@VERSION_SUFFIX@">0</token> <xml name="citation"> <citations>
--- a/miniprot.xml Thu Mar 28 17:28:56 2024 +0000 +++ b/miniprot.xml Tue Jul 15 18:28:26 2025 +0000 @@ -60,6 +60,12 @@ #else if str($output_format) == "gtf" --gtf #end if + + #if str($splice.spsc_file) != 'None': + --spsc '$splice.spsc_file' + --spsc0 $splice.spsc0 + #end if + '$protein_fasta' > '$output_alignment' ]]></command> @@ -87,6 +93,12 @@ <option value="paf">PAF</option> <option value="gtf">GTF</option> </param> + + <section name="splice" title="Splice sites"> + <param name="spsc_file" type="data" format="tsv,txt" optional="true" label="Splice score file" help="format: 'ctg offset +|- D|A score'"/> + <param name="spsc0" type="integer" value="-7" optional="true" label="Splice score" help="Score to assign to splice sites not listed in the splice score file"/> + </section> + <conditional name="adv"> <param name="options" type="select" label="Advanced options"> <option value="yes">Show</option> @@ -144,6 +156,7 @@ <param argument="--trans" name="output_translated_protein" type="boolean" truevalue="--trans" falsevalue="" checked="false" label="Output translated protein sequences" help="Skipping frameshift"/> <param argument="--no-cs" name="output_no_cs" type="boolean" truevalue="--no-cs" falsevalue="" checked="false" label="Disable the cs tag"/> </section> + <param argument="-K" name="query_batch_size" type="integer" min="1" value="2000000" label="Query batch size"/> <param argument="-T" name="ncbi_table" type="select" optional="true" label="Enter NCBI translation table"> <option value="1">1 Standard code</option> @@ -195,8 +208,7 @@ <param name="protein_fasta" value="input_query.fasta.gz" ftype="fasta"/> <output name="output_alignment" ftype="gff3"> <assert_contents> - <has_text text="ID=MP000001;Rank=1;Identity=0.3420;Positive=0.5104;Target=tr|I6YGH7|I6YGH7_MYCTU 1 375"/> - <has_text text="ID=MP000066;Rank=1;Identity=0.3613;Positive=0.5178;Target=sp|P9WQE5|PPSB_MYCTU 1 1214"/> + <has_n_lines n="1297"/> </assert_contents> </output> </test> @@ -266,7 +278,7 @@ <assert_contents> <has_text text="tr|I6YGH7|I6YGH7_MYCTU" /> <has_text text="VDIDLDPSTEKLRAQIRAEVAALKAMPREPRTVAIAEGGWVLPYLPKPWGRAASPVEQIIIAQEFTAGRVKRPQIAIATWIVPSIVAFGTDNQKQRLLPPTFRGDIFWCQLFSEPGAGSDLASLATKATRVDGGWRITGQKIWTTGAQYSQWGALLARTDPSAPKHNGITYFLLDMKSEGVQVKPLRELTGKEFFNTVYLDDVFVPDELVLGEVNRGWEVSRNTLTAERVSIGGSDSTFLPTLGEFVDFVRDYRFEGQFDQVARHRAGQLIAEGHATKLLNLRSTLLTLAGGDPMAPAAISKLLSMRTGQGYAEFAVSSFGTDAVIGDTERLPGKWGEYLLASRATTIYGGTSEVQLNIIAERLLGLPRDP"/> - <has_n_lines n="1647"/> + <has_n_lines n="1623"/> </assert_contents> </output> </test> @@ -285,10 +297,8 @@ </conditional> <output name="output_alignment" ftype="gtf"> <assert_contents> - <has_text text="tr|I6YGH7|I6YGH7_MYCTU"/> - <has_text text="VDIDLDPSTEKLRAQIRAEVAALKAMPREPRTVAIAEGGWVLPYLPKPWGRAASPVEQIIIAQEFTAGRVKRPQIAIATWIVPSIVAFGTDNQKQRLLPPTFRGDIFWCQLFSEPGAGSDLASLATKATRVDGGWRITGQKIWTTGAQYSQWGALLARTDPSAPKHNGITYFLLDMKSEGVQVKPLRELTGKEFFNTVYLDDVFVPDELVLGEVNRGWEVSRNTLTAERVSIGGSDSTFLPTLGEFVDFVRDYRFEGQFDQVARHRAGQLIAEGHATKLLNLRSTLLTLAGGDPMAPAAISKLLSMRTGQGYAEFAVSSFGTDAVIGDTERLPGKWGEYLLASRATTIYGGTSEVQLNIIAERLLGLPRDP"/> <has_text text="NC_000962.3"/> - <has_n_lines n="2196"/> + <has_n_lines n="2152"/> </assert_contents> </output> </test> @@ -310,7 +320,7 @@ <has_text text="tr|I6YGH7|I6YGH7_MYCTU"/> <has_text text="VDIDLDPSTEKLRAQIRAEVAALKAMPREPRTVAIAEGGWVLPYLPKPWGRAASPVEQIIIAQEFTAGRVKRPQIAIATWIVPSIVAFGTDNQKQRLLPPTFRGDIFWCQLFSEPGAGSDLASLATKATRVDGGWRITGQKIWTTGAQYSQWGALLARTDPSAPKHNGITYFLLDMKSEGVQVKPLRELTGKEFFNTVYLDDVFVPDELVLGEVNRGWEVSRNTLTAERVSIGGSDSTFLPTLGEFVDFVRDYRFEGQFDQVARHRAGQLIAEGHATKLLNLRSTLLTLAGGDPMAPAAISKLLSMRTGQGYAEFAVSSFGTDAVIGDTERLPGKWGEYLLASRATTIYGGTSEVQLNIIAERLLGLPRDP"/> <has_text text="sp|O05779|FTSE_MYCTU"/> - <has_n_lines n="654"/> + <has_n_lines n="652"/> </assert_contents> </output> </test> @@ -377,6 +387,28 @@ </assert_contents> </output> </test> + <test expect_num_outputs="1"> + <conditional name="db"> + <param name="dbtype" value="fasta"></param> + <param name="genomic_fasta" value="input_genome.fasta.gz" ftype="fasta"></param> + </conditional> + <param name="protein_fasta" value="input_query.fasta.gz" ftype="fasta"></param> + <param name="spsc_file" value="spsc.tsv" ftype="tsv"></param> + <param name="output_format" value="gff"></param> + <conditional name="adv"> + <param name="options" value="yes"/> + <section name="output"> + <param name="output_translated_protein" value="true"/> + </section> + </conditional> + <output name="output_alignment" ftype="gff3"> + <assert_contents> + <has_text text="tr|O53632|O53632_MYCTU"/> + <has_text text="##gff-version 3"/> + <has_n_lines n="1559"/> + </assert_contents> + </output> + </test> </tests> <help><