I assume you mean those types as annotated on components made using the Component plugin:
http://dev.mygrid.org.uk/wiki/display/taverna/Components You might want to have a look at the SCUFL2 APIs http://dev.mygrid.org.uk/wiki/display/developer/SCUFL2+API and the scufl2-wfdesc extraction tool: https://github.com/wf4ever/scufl2-wfdesc The typing on Taverna Components is stored as an RDF annotation within the workflow. The scufl2 tools can enumerate and access those annotations - while the scufl2-wfdesc command line tool is able to extract all of them in a single RDF graph: https://github.com/wf4ever/scufl2-wfdesc#extracted-annotations <> a wfdesc:Workflow , wfdesc:Description , wfdesc:Process ; comp:fits comp:MigrationAction ; comp:migrates _:node18musbm56x1 . _:node18musbm56x1 a comp:MigrationPath ; comp:fromMimetype "image/tiff" ; comp:toMimetype "image/tiff" . We use the scufl2-wfdesc tool in myExperiment to extract these component annotations, and then process them using regular RDF tools, e.g. SPARQL queries - you should be able to do similar given a collection of components. I will check with the myExperiment guys if it is possible to query the known components directly from myExperiment. On 29 April 2014 18:10, Muhammad Usama <[email protected]> wrote: > I want to read a Taverna workflow and get all outputs and their types from > each component. For example if there are 50 components then I want to know > what kind of output each component is producing, and names and ID's of the > components etc. > > I'll be giving this information to user through another user interface. Do I > have to write a reader/parser myself to read Taverna workflow files or is > there any other way to do that. > > -- > Muhammad Usama > 2011-NUST-MS-CS-009 > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > taverna-users mailing list > [email protected] > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/about/contact-us/ > -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester http://soiland-reyes.com/stian/work/ http://orcid.org/0000-0001-9842-9718 ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
