1#@UGENE_WORKFLOW
2#Converts sequence from one document format to another
3
4
5
6workflow convert-seq{
7
8    read-sequence {
9        type:read-sequence;
10        name:"Read sequence";
11        url-in {
12            dataset:"Dataset 1";
13        }
14    }
15    write-sequence {
16        type:write-sequence;
17        name:"Write sequence";
18    }
19
20
21    .actor-bindings {
22        read-sequence.out-sequence->write-sequence.in-sequence
23    }
24
25    read-sequence.annotations->write-sequence.in-sequence.annotations
26    read-sequence.sequence->write-sequence.in-sequence.sequence
27
28    .meta {
29        parameter-aliases {
30            read-sequence.url-in {
31                alias:in;
32                description:"Input sequence";
33            }
34            write-sequence.accumulate {
35                alias:accumulate;
36                description:"Accumulate all incoming data in one file or create separate files for each input. In the latter case, an incremental numerical suffix is added to the file name (using 'True' by default)";
37            }
38            write-sequence.document-format {
39                alias:format;
40                description:"Document format of output sequence (using 'fasta' by default)";
41            }
42            write-sequence.split {
43                alias:split;
44                description:"Split each incoming sequence on several parts (using '1' by default)";
45            }
46            write-sequence.url-out {
47                alias:out;
48                description:"Output sequence";
49            }
50        }
51        visual {
52            read-sequence {
53                pos:"-795 -615";
54                style:ext;
55                bg-color-ext:"0 128 128 64";
56                out-sequence.angle:360;
57            }
58            write-sequence {
59                pos:"-525 -615";
60                style:ext;
61                bg-color-ext:"0 128 128 64";
62                in-sequence.angle:180;
63            }
64            read-sequence.out-sequence->write-sequence.in-sequence {
65                text-pos:"-27.5 -24";
66            }
67        }
68    }
69}
70
71