Mercurial > repos > artbio > embl2fa
annotate embl2fa.xml @ 1:a0b6fec3b066 draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/embl2fa commit 27cf3dbac49e5392d8b454668d9c09eabc8acb89
author | artbio |
---|---|
date | Sat, 14 Oct 2023 20:00:57 +0000 |
parents | 3c8c9911cf2a |
children |
rev | line source |
---|---|
1
a0b6fec3b066
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/embl2fa commit 27cf3dbac49e5392d8b454668d9c09eabc8acb89
artbio
parents:
0
diff
changeset
|
1 <tool id="embl2fa" name="Convert embl flat file to fasta" version="0.2"> |
0
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
2 <description></description> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
3 <stdio> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
4 <exit_code range="1:" level="fatal" description="Tool exception" /> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
5 </stdio> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
6 <command detect_errors="exit_code"><![CDATA[ |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
7 grep -P "(^ID)|(^ +[GATCNgatcn ]+\d+)" "$input" > "$output" && |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
8 sed -i -E "s/^ID />/" "$output" && |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
9 sed -i -E "s/(>[^ ]+) .+/\1/g" "$output" && |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
10 sed -i -E "s/([GATCNgatcn]+) /\1/g" "$output" && |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
11 sed -i -E "s/^ +//g" "$output" && |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
12 sed -i -E "s/ +[0-9]+//g" "$output" |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
13 ]]></command> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
14 <inputs> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
15 <param format="txt" name="input" type="data" label="EMBL flat file" /> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
16 </inputs> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
17 <outputs> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
18 <data name="output" format="fasta" label="fasta file" /> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
19 </outputs> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
20 <tests> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
21 <test> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
22 <param name="input" value="transposon_sequence_set_v9.5.embl.txt" ftype="txt" /> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
23 <output name="output" file="transposon_sequence_set_v9.5.fa" ftype="fasta"/> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
24 </test> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
25 </tests> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
26 <help> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
27 |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
28 .. class:: infomark |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
29 |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
30 **What it does** |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
31 |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
32 Converts file in EMBL flat format to fasta file |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
33 </help> |
1
a0b6fec3b066
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/embl2fa commit 27cf3dbac49e5392d8b454668d9c09eabc8acb89
artbio
parents:
0
diff
changeset
|
34 <citations> |
a0b6fec3b066
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/embl2fa commit 27cf3dbac49e5392d8b454668d9c09eabc8acb89
artbio
parents:
0
diff
changeset
|
35 <citation type="doi">10.1093/nar/gki098</citation> |
a0b6fec3b066
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/embl2fa commit 27cf3dbac49e5392d8b454668d9c09eabc8acb89
artbio
parents:
0
diff
changeset
|
36 </citations> |
0
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
37 </tool> |
3c8c9911cf2a
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/embl2fa commit 6e5860cedc0ed0bc807ff64f752e62355c1b19d4
artbio
parents:
diff
changeset
|
38 |