comparison genbank_to_fasta.xml @ 0:bcdd1a35e545 draft default tip

planemo upload for repository https://github.com/portiahollyoak/Tools commit 132bb96bba8e7aed66a102ed93b7744f36d10d37-dirty
author portiahollyoak
date Fri, 22 Apr 2016 12:09:14 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:bcdd1a35e545
1 <tool id ="genbank_to_fasta" name="Convert multigenbank to multifasta" version=" 0.1.0">
2 <description></description>
3 <stdio>
4 <exit_code range="1:" />
5 </stdio>
6 <command>python $__tool_directory__/genbank_to_fasta.py "$input" "$output"</command>
7 <inputs>
8 <param format="txt" name="input" type="data" label="Multigenbank file"/>
9 </inputs>
10 <outputs>
11 <data format="fasta" name="output" />
12 </outputs>
13 <tests>
14 <test>
15 <param name="input" value="genbank_input.txt"/>
16 <output name="output" file="output.fasta"/>
17 </test>
18 </tests>
19 <help>
20
21 This tool converts a multigenbank file into a multifasta file.
22
23 -----
24
25 **Example multi genbank file** ::
26
27 ID DME9736 standard; DNA; INV; 7411 BP.
28 XX
29 CC Derived from AJ009736 (e1371475) (Rel. 58, Last updated, Version 1).
30 CC Takis Benos and Michael Ashburner, 1-Feb-1999.
31 CC Any changes to original sequence record are annotated in an FT line.
32 XX
33 SQ Sequence 7411 BP; 3047 A; 1363 C; 1109 G; 1892 T; 0 other;
34 GTGACATATC CATAAGTCCC TAAGACTTAA GCATATGCCT ACATACTAAT ACACTTACAA 60
35 CACATACACC CCAATACAAC ATACACTACT CCGGATGTAC CCAACAGATA CCAGATAAGA 120
36 ATAAGATTGT TATATGATCC TCGAGAATGG AAAAAACCCC AATTCTAGAT AAGTCACCCA 180
37 CTGGTAGACT AAACATCCGT CCCCTAATTT AAACAATTCC TTGCTTAAGC CTCACCCCAT 240
38 //
39 ID DMIS176 standard; DNA; INV; 7439 BP.
40 XX
41 CC Derived from X01472 (g8142) (Rel. 36, Last updated, Version 2).
42 CC Takis Benos and Michael Ashburner, 20-Aug-1997.
43 CC Any changes to original sequence record are annotated in an FT line.
44 XX
45 SQ Sequence 7439 BP; 2985 A; 1512 C; 1048 G; 1894 T; 0 other;
46 AGTGACATAT TCACATACAA AACCACATAA CATAGAGTAA ACATATTGAA AAGCCGCATA 60
47 CGTAAACAAT AAGTGACCAC CATGCTAATG TGGATCAAAT AACAAAAATA TCCACTCTGC 120
48 //
49
50 **Example output fasta file** ::
51
52 >DME9736
53 GTGACATATCCATAAGTCCCTAAGACTTAAGCATATGCCTACATACTAATACACTTACAA....
54 >DMIS176
55 AGTGACATATTCACATACAAAACCACATAACATAGAGTAAACATATTGAAAAGCCGCATA
56
57 </help>
58 </tool>