1#@UGENE_WORKFLOW 2#Finds annotations for DNA sequence in remote database: NCBI BLSAT or CDD. Result annotations store to file in genbank format. Source data can be of any format containing sequences or alignments 3 4 5 6workflow remote-request{ 7 8 read-sequence { 9 type:read-sequence; 10 name:"Read sequence"; 11 url-in { 12 dataset:"Dataset 1"; 13 } 14 } 15 blast-ncbi { 16 type:blast-ncbi; 17 name:"Request to remote database"; 18 } 19 write-genbank { 20 type:write-sequence; 21 name:"Write Genbank"; 22 document-format:genbank; 23 } 24 25 26 .actor-bindings { 27 read-sequence.out-sequence->blast-ncbi.in-sequence 28 blast-ncbi.out-annotations->write-genbank.in-sequence 29 } 30 31 read-sequence.sequence->blast-ncbi.in-sequence.sequence 32 blast-ncbi.annotations->write-genbank.in-sequence.annotations 33 read-sequence.annotations->write-genbank.in-sequence.annotations 34 read-sequence.sequence->write-genbank.in-sequence.sequence 35 36 .meta { 37 parameter-aliases { 38 read-sequence.url-in { 39 alias:in; 40 description:"Input sequence"; 41 } 42 blast-ncbi.megablast { 43 alias:megablast; 44 description:"Use megablast"; 45 } 46 blast-ncbi.blast-output { 47 alias:blast-output; 48 description:"Location of BLAST output file"; 49 } 50 blast-ncbi.alg { 51 alias:alg; 52 description:"The database to search through (using 'ncbi-blastn' by default)"; 53 } 54 blast-ncbi.db { 55 alias:db; 56 description:"The database to search through (using 'ncbi-blastn' by default)"; 57 } 58 blast-ncbi.e-value { 59 alias:eval; 60 description:"The statistical significance threshold of reporting matches against the database sequences (using '10.0' by default)"; 61 } 62 blast-ncbi.hits { 63 alias:hits; 64 description:"Maximum number of hits (using '10' by default)"; 65 } 66 blast-ncbi.result-name { 67 alias:name; 68 description:"Name of the result annotations"; 69 } 70 blast-ncbi.short_seq { 71 alias:short; 72 description:"Optimize search for short sequences (using 'False' by default)"; 73 } 74 write-genbank.accumulate { 75 alias:accumulate; 76 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)"; 77 } 78 write-genbank.url-out { 79 alias:out; 80 description:"Output file with annotations"; 81 } 82 } 83 visual { 84 blast-ncbi { 85 pos:"-600 -630"; 86 style:ext; 87 bg-color-ext:"0 128 128 64"; 88 in-sequence.angle:180; 89 out-annotations.angle:360; 90 } 91 read-sequence { 92 pos:"-780 -630"; 93 style:ext; 94 bg-color-ext:"0 128 128 64"; 95 out-sequence.angle:360; 96 } 97 write-genbank { 98 pos:"-360 -630"; 99 style:ext; 100 bg-color-ext:"0 128 128 64"; 101 in-sequence.angle:180; 102 } 103 blast-ncbi.out-annotations->write-genbank.in-sequence { 104 text-pos:"-33 -24"; 105 } 106 read-sequence.out-sequence->blast-ncbi.in-sequence { 107 text-pos:"-27.5 -24"; 108 } 109 } 110 } 111} 112 113