comparison fasta_filter_region.xml @ 0:bc23da9d464c draft default tip

planemo upload for repository http://172.20.124.12:3000/bvalot3/PythonScript commit 9676573ee48ce5343600ab45cd3ac1a6adddabe4
author bvalot
date Tue, 14 Jun 2022 08:15:55 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bc23da9d464c
1 <tool id="fasta_filter_region_wrapper" name="Filter region" version="0.1">
2 <description></description>
3 <requirements>
4 <requirement type="package" version="1.78">biopython</requirement>
5 </requirements>
6 <stdio>
7 <exit_code range="1:" level="fatal" />
8 </stdio>
9 <version_command>$__tool_directory__/fasta_filter_to_region.py -v</version_command>
10 <command>
11 $__tool_directory__/fasta_filter_to_region.py
12 -o '$output'
13 '$fasta'
14 #for $reg in $regions.split(" ")
15 '$reg'
16 #end for
17 </command>
18 <inputs>
19 <param name="fasta" type="data" format="fasta" label="Database to filter on fasta" help="FASTA format" />
20 <param name="regions" type="text" value="" optional="false" size="4X50"
21 label="List of region to conserved in format accession:start-stop"
22 help="Separated each regions by a space" />
23 </inputs>
24 <outputs>
25 <data name="output" format="fasta" label="${tool.name} on ${on_string}: fasta" />
26 </outputs>
27 <tests>
28 <test expect_num_outputs="1">
29 <param name="fasta" value="input.fasta" />
30 <param name="regions" value="NODE_1_length_344587_cov_27.773165:10-190" />
31 <output name="output" file="filter_region.fasta" ftype="fasta" />
32 </test>
33 </tests>
34 <help>
35 **What it does**
36
37 Filter a fasta file based on regions.
38
39 **Examples**
40
41 CP000822.1:458-1689
42
43 NODE_1_length_721117_cov_11.496472:14500-18320
44
45 **Citation et licences**
46
47 This Galaxy tool is Copyright © 2018 `B. Valot` and is released
48 under the `GPL3 license`.
49
50 </help>
51 <citations>
52 </citations>
53 </tool>