annotate detect_circular_sequences.xml @ 0:faec698e3f98 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
author iuc
date Thu, 11 Dec 2025 08:53:37 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
1 <tool id="detect_circular_sequences" name="Detect circular sequences" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
2 <description>(e.g. circular contigs) in a FASTA file</description>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
3 <macros>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
4 <token name="@TOOL_VERSION@">1.0</token>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
5 <token name="@VERSION_SUFFIX@">0</token>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
6 <token name="@PROFILE@">24.0</token>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
7 </macros>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
8 <requirements>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
9 <requirement type="package" version="3.13">python</requirement>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
10 <requirement type="package" version="1.86">biopython</requirement>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
11 </requirements>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
12 <command><![CDATA[
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
13 python '${__tool_directory__}/detect_circular_sequences.py'
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
14 --fasta-in '$fasta_in'
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
15 --subseq-length $subseq_length
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
16 --duplication-length $duplication_length
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
17 --verbose $verbose
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
18 --fasta-out '$fasta_out'
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
19 --id-out '$id_out'
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
20 ]]></command>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
21 <inputs>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
22 <param argument="--fasta-in" type="data" format="fasta" label="Input FASTA file"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
23 <param argument="--subseq-length" type="integer" min="0" value="10" label="Length of 3' fragment to check on the 5' end"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
24 <param argument="--duplication-length" type="integer" min="0" value="1000" label="Length of the 3' end fragment to duplicate and add on the 5' end"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
25 <param argument="--verbose" type="select" label="Verbosity level">
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
26 <option value="0">CRITICAL</option>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
27 <option value="1">ERROR</option>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
28 <option value="2">WARN</option>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
29 <option value="3" selected="true">INFO</option>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
30 <option value="4">DEBUG</option>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
31 </param>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
32 </inputs>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
33 <outputs>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
34 <data name="fasta_out" format="fasta" label="${tool.name} on ${on_string}: Extended circular sequences"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
35 <data name="id_out" format="txt" label="${tool.name} on ${on_string}: Circular sequence IDs"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
36 </outputs>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
37 <tests>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
38 <test expect_num_outputs="2">
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
39 <param name="fasta_in" value="input.fasta"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
40 <param name="subseq_length" value="10"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
41 <param name="duplication_length" value="1000"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
42 <param name="verbose" value="3"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
43 <output name="fasta_out">
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
44 <assert_contents>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
45 <has_text text=">SRR17300492_25544"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
46 <has_text text="GCGATCCAACTGAACCGGATCTAGAGCCGTGGGGTCAACCGC"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
47 </assert_contents>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
48 </output>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
49 <output name="id_out">
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
50 <assert_contents>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
51 <has_text text="SRR17300492_25544"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
52 <has_n_lines n="1"/>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
53 </assert_contents>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
54 </output>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
55 </test>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
56 </tests>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
57 <help><![CDATA[
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
58 This tool detects circular contigs by looking for exact identical subsequences at the two
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
59 ends of the sequences provided in a FASTA file and output the circular contigs
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
60 extended on 5' end by duplication of the first nucleotides on 3' end to be able
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
61 to predict genes spanning the origin of circular contigs.
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
62
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
63 Inspired by Simon Roux work for Metavir2 (2014) and Corentin Hochart work in PlasSuite
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
64 ]]></help>
faec698e3f98 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/detect_circular_sequences commit 7ea9f729b44c6351c52b6295c780f496d239488e
iuc
parents:
diff changeset
65 </tool>