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