#@UGENE_WORKFLOW #Converts sequence file(s) of any format (including PDB, aligments etc) to Genbank document(s). If source format supports annotations, they are also saved as feature tables in target file. Sequence meta-information (accessions etc) is preserved as well. # #To get this workflow working, you only need to select "Sequence Reader" task, so its' parameters appear in Property Inspector panel, and specify source file(s) at "URL" field. Launch the workflow with pressing Ctrl+R keys. #After running the workflow, target genbank file will appear in the same folder as the source file, with the same name but different extension (".gb" by default). If several input files were selected, several output files will be generated. #You can override the target file location by editing "URL" parameter of "Write Genbank" task. In this case all data from different sources will be saved to the single location (unless you change "Accumulate objects" parameter, see related docs). workflow "Convert sequence to Genbank"{ read-sequence { type:read-sequence; name:"Read sequence"; merge-gap:10; mode:0; } write-genbank { type:write-sequence; document-format:genbank; name:"Write Genbank"; accumulate:true; write-mode:2; url-out:output.gb; } read-sequence.annotations->write-genbank.in-sequence.annotations read-sequence.sequence->write-genbank.in-sequence.sequence .meta { visual { read-sequence { pos:"-720 -645"; style:ext; bg-color-ext:"0 128 128 64"; out-sequence.angle:360; } write-genbank { pos:"-465 -645"; style:ext; bg-color-ext:"0 128 128 64"; in-sequence.angle:180; } read-sequence.out-sequence->write-genbank.in-sequence { text-pos:"-27.5 -24"; } } wizard { name:"Convert sequence to Genbank Wizard"; help-page-id:16122707; page { id:1; next:2; title:"Input sequence(s)"; parameters-area { read-sequence.url-in { type:datasets; } } } page { id:2; title:"Output data"; parameters-area { group { title:"Output data"; label-size:120; write-genbank.url-out { label:"Result Genbank file"; } write-genbank.accumulate { label:"Accumulate results"; } } } } } } }