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