1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
#!UGENE_WORKFLOW
#Fetches sequence from LinkData by specified work ID, filename, subject ID, property ID and writes result in file in FASTA format
include "LinkData Fetch.usa" as "Script-LinkData Fetch"
workflow "LinkData fetch"{
script-linkdata-fetch {
type:"Script-LinkData Fetch";
name:"LinkData Fetch";
script {
out_sequence = sequenceFromText(LinkData.getObjects(workId,filename,subject,property));
};
filename:cox_s70_promoters_8objects;
property:"http://linkdata.org/property/rdf1s171i#sequence";
subject:"http://linkdata.org/resource/rdf1s171i#A.A1'";
workId:rdf1s171i;
}
write-sequence {
type:write-sequence;
name:"Write Sequence";
url-out:"D:/work/linkdata.fa";
}
.actor-bindings {
script-linkdata-fetch.out->write-sequence.in-sequence
}
script-linkdata-fetch.sequence->write-sequence.in-sequence.sequence
.meta {
visual {
script-linkdata-fetch {
pos:"-735 -569";
style:ext;
bg-color-ext:"0 128 128 64";
out.angle:360;
}
write-sequence {
pos:"-504 -570";
style:ext;
bg-color-ext:"0 128 128 64";
bounds:"-30 -30 78 90";
in-sequence.angle:180;
}
script-linkdata-fetch.out->write-sequence.in-sequence {
text-pos:"-32.5 -24";
}
}
wizard {
name:"LinkData fetch Wizard";
help-page-id:16122710;
auto-run: true;
page {
id:1;
title:"LinkData Fetch";
parameters-area {
group {
title:"LinkData Fetch";
label-size:120;
script-linkdata-fetch.workId {
label:"Work ID";
}
script-linkdata-fetch.filename {
label:"File name";
}
script-linkdata-fetch.subject {
label:"Subject";
}
script-linkdata-fetch.property {
label:"Property";
}
}
group {
title:"Output data";
label-size:120;
write-sequence.url-out {
label:"Result sequence";
}
}
}
}
}
}
}
|