Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miniprot Update version v0.10 to v0.12 #5317

Merged
merged 16 commits into from
Jul 13, 2023
2 changes: 1 addition & 1 deletion tools/miniprot/macros.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<macros>
<token name="@TOOL_VERSION@">0.10</token>
<token name="@TOOL_VERSION@">0.11</token>
<xml name="citation">
<citations>
<citation type="doi">10.1093/bioinformatics/btad014</citation>
Expand Down
21 changes: 21 additions & 0 deletions tools/miniprot/miniprot.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
--outn=$adv.output.outputs_per_query
--outc=$adv.output.output_fraction_query
--outs=$adv.output.output_score_least
$adv.output.output_translated_protein
rlibouba marked this conversation as resolved.
Show resolved Hide resolved
$adv.output.output_residue_alignment
#end if
#if str($db.dbtype) == 'fasta'
Expand Down Expand Up @@ -137,6 +138,7 @@
<param argument="--outs" name="output_score_least" type="float" min="0" max="1" value="0.99"
label="For each protein, only output alignments with a score higher than 'best_score' multiplied by this value"/>
<param argument="--outc" name="output_fraction_query" type="float" value="0.1" label="Output if at least this fraction of query is aligned" />
<param argument="--trans" name="output_translated_protein" type="boolean" truevalue="--trans" falsevalue="" checked="false" label="Output translated protein sequences" help="Skipping frameshift" />
rlibouba marked this conversation as resolved.
Show resolved Hide resolved
</section>
<param argument="-K" name="query_batch_size" type="integer" min="1" value="2000000" label="Query batch size" />
</when>
Expand Down Expand Up @@ -217,6 +219,25 @@
</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="output_format" value="gtf"></param>
<conditional name="adv">
<param name="options" value="yes"></param>
<param name="second_round_kmer_size" value="32"></param>
<param name="output_translated_protein" />
bernt-matthias marked this conversation as resolved.
Show resolved Hide resolved
</conditional>
<output name="output_alignment" ftype="gtf">
<assert_contents>
<has_text text="tr|I6YGH7|I6YGH7_MYCTU" />
<has_text text="tr|V5QPR5|V5QPR5_MYCTU"/>
</assert_contents>
</output>
</test>

</tests>
<help><![CDATA[
Expand Down