annotate remove_terminal_stop_codons.xml @ 0:91bda876f648 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
author iuc
date Fri, 05 Dec 2025 23:22:22 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
1 <tool id="remove_terminal_stop_codons" name="Remove terminal stop codons" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
2 <description>from coding sequences</description>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
3 <macros>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">1.0.0</token>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
6 <token name="@PROFILE@">25.0</token>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
7 </macros>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
8 <requirements>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
9 <requirement type="package" version="1.84">biopython</requirement>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
10 </requirements>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
11 <required_files>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
12 <include path="remove_terminal_stop_codons.py" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
13 </required_files>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
14 <command detect_errors="exit_code"><![CDATA[
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
15 python '$__tool_directory__/remove_terminal_stop_codons.py'
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
16 -i '$input'
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
17 -o '$output'
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
18 #if str($genetic_code) != "1"
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
19 -t '$genetic_code'
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
20 #end if
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
21 $no_check_internal
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
22 ]]></command>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
23 <inputs>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
24 <param name="input" type="data" format="fasta" label="Input FASTA file"
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
25 help="FASTA file containing coding sequences (CDS) to process." />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
26 <param name="genetic_code" type="select" label="Genetic code"
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
27 help="NCBI translation table to use for identifying stop codons. Different organisms use different genetic codes.">
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
28 <option value="1" selected="true">1 - Standard</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
29 <option value="2">2 - Vertebrate Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
30 <option value="3">3 - Yeast Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
31 <option value="4">4 - Mold, Protozoan, Coelenterate Mitochondrial and Mycoplasma/Spiroplasma</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
32 <option value="5">5 - Invertebrate Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
33 <option value="6">6 - Ciliate, Dasycladacean and Hexamita Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
34 <option value="9">9 - Echinoderm and Flatworm Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
35 <option value="10">10 - Euplotid Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
36 <option value="11">11 - Bacterial, Archaeal and Plant Plastid</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
37 <option value="12">12 - Alternative Yeast Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
38 <option value="13">13 - Ascidian Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
39 <option value="14">14 - Alternative Flatworm Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
40 <option value="15">15 - Blepharisma Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
41 <option value="16">16 - Chlorophycean Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
42 <option value="21">21 - Trematode Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
43 <option value="22">22 - Scenedesmus obliquus Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
44 <option value="23">23 - Thraustochytrium Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
45 <option value="24">24 - Rhabdopleuridae Mitochondrial</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
46 <option value="25">25 - Candidate Division SR1 and Gracilibacteria</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
47 <option value="26">26 - Pachysolen tannophilus Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
48 <option value="27">27 - Karyorelict Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
49 <option value="28">28 - Condylostoma Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
50 <option value="29">29 - Mesodinium Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
51 <option value="30">30 - Peritrich Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
52 <option value="31">31 - Blastocrithidia Nuclear</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
53 <option value="33">33 - Cephalodiscidae Mitochondrial UAA-Tyr</option>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
54 </param>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
55 <param argument="--no-check-internal" type="boolean" truevalue="--no-check-internal" falsevalue=""
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
56 checked="false" label="Skip internal stop codon check"
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
57 help="By default, the tool will fail if internal (in-frame) stop codons are found. Enable this to only remove terminal stops without checking for internal ones." />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
58 </inputs>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
59 <outputs>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
60 <data name="output" format="fasta" label="${tool.name} on ${on_string}" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
61 </outputs>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
62 <tests>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
63 <!-- Test 1: Basic removal of terminal stop codon -->
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
64 <test expect_num_outputs="1">
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
65 <param name="input" value="with_terminal_stop.fasta" ftype="fasta" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
66 <param name="genetic_code" value="1" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
67 <output name="output" file="without_terminal_stop.fasta" ftype="fasta" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
68 </test>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
69 <!-- Test 2: Sequence without terminal stop (should pass through unchanged) -->
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
70 <test expect_num_outputs="1">
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
71 <param name="input" value="no_terminal_stop.fasta" ftype="fasta" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
72 <param name="genetic_code" value="1" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
73 <output name="output" file="no_terminal_stop.fasta" ftype="fasta" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
74 </test>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
75 <!-- Test 3: Internal stop codon should fail -->
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
76 <test expect_failure="true">
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
77 <param name="input" value="with_internal_stop.fasta" ftype="fasta" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
78 <param name="genetic_code" value="1" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
79 </test>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
80 <!-- Test 4: Internal stop with skip check should pass -->
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
81 <test expect_num_outputs="1">
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
82 <param name="input" value="with_internal_stop.fasta" ftype="fasta" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
83 <param name="genetic_code" value="1" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
84 <param name="no_check_internal" value="true" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
85 <output name="output" file="with_internal_stop_output.fasta" ftype="fasta" />
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
86 </test>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
87 </tests>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
88 <help><![CDATA[
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
89 **What it does**
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
90
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
91 This tool removes terminal (trailing) stop codons from coding sequences in a FASTA file.
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
92 It is designed as a **preprocessing step** for downstream tools like **cawlign** and **HyPhy**
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
93 that do not permit stop codons in their input sequences.
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
94
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
95 **Important**: By default, this tool will **fail with an error** if it detects any internal
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
96 (in-frame) stop codons in your sequences. This is intentional, but can be disabled with the
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
97 `--no-check-internal` option.
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
98
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
99 ----
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
100
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
101 **Input**
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
102
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
103 A FASTA file containing coding sequences (CDS). Sequences should be:
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
104
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
105 - In the correct reading frame (starting at position 1 of a codon)
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
106 - DNA sequences (RNA sequences with U will be converted to T)
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
107
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
108 ----
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
109
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
110 **Output**
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
111
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
112 A FASTA file with terminal stop codons removed. The output preserves:
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
113
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
114 - Sequence identifiers and descriptions
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
115 - Sequences that don't end with stop codons (passed through unchanged)
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
116 - Partial codons at the end (not removed)
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
117
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
118 ----
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
119
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
120 **Genetic Codes**
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
121
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
122 Different organisms use different genetic codes (translation tables) which define
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
123 which codons are stop codons:
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
124
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
125 - **Standard (1)**: TAA, TAG, TGA - used by most organisms
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
126 - **Vertebrate Mitochondrial (2)**: TAA, TAG, AGA, AGG - mitochondria of vertebrates
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
127 - **Bacterial/Archaeal (11)**: TAA, TAG, TGA - bacteria and archaea
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
128
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
129 Select the appropriate genetic code for your organism to ensure correct stop codon identification.
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
130
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
131 ----
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
132
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
133 **Use Cases**
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
134
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
135 1. **Before cawlign**: Remove terminal stops from sequences before codon-aware alignment
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
136 2. **Before HyPhy**: Prepare sequences for selection analysis (HyPhy methods like BUSTED, FEL, MEME)
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
137 3. **Quality control**: Identify sequences with internal stop codons that may need review
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
138 ]]></help>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
139 <citations>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
140 <citation type="bibtex">
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
141 @misc{capheine2025,
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
142 author = {Callan, Danielle and Verdonk, Hannah and Kosakovsky Pond, Sergei L.},
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
143 title = {CAPHEINE: A Comprehensive Automated Pipeline Using HyPhy for Evolutionary Inference with Nextflow},
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
144 year = {2025},
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
145 publisher = {GitHub},
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
146 url = {https://github.com/veg/CAPHEINE},
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
147 note = {Terminal stop-codon removal logic in this Galaxy tool is adapted from the CAPHEINE pipeline.}
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
148 }
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
149 </citation>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
150 </citations>
91bda876f648 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff changeset
151 </tool>