Mercurial > repos > iuc > remove_terminal_stop_codons
annotate remove_terminal_stop_codons.xml @ 0:0290a7285026 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:35 +0000 |
| parents | |
| children |
| rev | line source |
|---|---|
|
0
0290a7285026
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@"> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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" /> |
|
0290a7285026
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> |
|
0290a7285026
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[ |
|
0290a7285026
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' |
|
0290a7285026
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' |
|
0290a7285026
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' |
|
0290a7285026
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" |
|
0290a7285026
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' |
|
0290a7285026
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 |
|
0290a7285026
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 |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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" |
|
0290a7285026
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." /> |
|
0290a7285026
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" |
|
0290a7285026
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."> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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="" |
|
0290a7285026
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" |
|
0290a7285026
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." /> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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}" /> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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 --> |
|
0290a7285026
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"> |
|
0290a7285026
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" /> |
|
0290a7285026
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" /> |
|
0290a7285026
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" /> |
|
0290a7285026
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> |
|
0290a7285026
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) --> |
|
0290a7285026
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"> |
|
0290a7285026
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" /> |
|
0290a7285026
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" /> |
|
0290a7285026
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" /> |
|
0290a7285026
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> |
|
0290a7285026
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 --> |
|
0290a7285026
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"> |
|
0290a7285026
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" /> |
|
0290a7285026
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" /> |
|
0290a7285026
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> |
|
0290a7285026
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 --> |
|
0290a7285026
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"> |
|
0290a7285026
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" /> |
|
0290a7285026
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" /> |
|
0290a7285026
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" /> |
|
0290a7285026
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" /> |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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[ |
|
0290a7285026
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** |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
90 |
|
0290a7285026
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. |
|
0290a7285026
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** |
|
0290a7285026
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. |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
94 |
|
0290a7285026
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 |
|
0290a7285026
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 |
|
0290a7285026
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. |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
98 |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
99 ---- |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
100 |
|
0290a7285026
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** |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
102 |
|
0290a7285026
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: |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
104 |
|
0290a7285026
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) |
|
0290a7285026
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) |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
107 |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
108 ---- |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
109 |
|
0290a7285026
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** |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
111 |
|
0290a7285026
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: |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
113 |
|
0290a7285026
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 |
|
0290a7285026
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) |
|
0290a7285026
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) |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
117 |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
118 ---- |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
119 |
|
0290a7285026
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** |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
121 |
|
0290a7285026
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 |
|
0290a7285026
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: |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
124 |
|
0290a7285026
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 |
|
0290a7285026
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 |
|
0290a7285026
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 |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
128 |
|
0290a7285026
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. |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
130 |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
131 ---- |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
132 |
|
0290a7285026
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** |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
134 |
|
0290a7285026
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 |
|
0290a7285026
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) |
|
0290a7285026
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 |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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"> |
|
0290a7285026
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, |
|
0290a7285026
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.}, |
|
0290a7285026
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}, |
|
0290a7285026
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}, |
|
0290a7285026
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}, |
|
0290a7285026
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}, |
|
0290a7285026
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.} |
|
0290a7285026
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/remove_terminal_stop_codons commit 0c1c0e260ebecab6beb23fd56322b391e62d12fa
iuc
parents:
diff
changeset
|
148 } |
|
0290a7285026
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> |
|
0290a7285026
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> |
|
0290a7285026
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> |
