Parse QuickGO "proteinList" file format
Created: 2012-02-20 23:28:03
Last updated: 2013-07-10 13:53:44
Preview
Run
Run this Workflow in the Taverna Workbench...
Workflow Components
Authors (1)
Titles (1)
Parse QuickGO "proteinList" file format |
Descriptions (1)
Parse QuickGO "proteinList" file format. http://www.ebi.ac.uk/QuickGO/reference.html |
Dependencies (0)
Inputs (2)
Name |
Description |
quickGoProteinListFormat |
List of proteins in the QuickGO "proteinList" format. Check "Download formats" for more inforamtion in "http://www.ebi.ac.uk/QuickGO/reference.html"
|
header |
Does the file include the header?
|
Processors (1)
Name |
Type |
Description |
processQuickGoProteinListFormat |
beanshell |
Script List dbList = new ArrayList();
List idList = new ArrayList();
List symbolList = new ArrayList();
List nameList = new ArrayList();
List synonymList = new ArrayList();
List typeList = new ArrayList();
List taxonList = new ArrayList();
// DB ID Symbol Name Synonym Type Taxon
String[] lines = quickGoProteinListFormat.split(System.getProperty("line.separator"));
if(lines.length == 1){
lines = quickGoProteinListFormat.split("\n");
}
int lineCount = 0;
if(header.equalsIgnoreCase("false")){
lineCount++;
}
for(String line:lines){
if(line.length() > 1){
if(lineCount > 0){
String[] el = line.split("\t");
dbList.add(el[0]);
idList.add(el[1]);
symbolList.add(el[2]);
nameList.add(el[3]);
synonymList.add(el[4]);
typeList.add(el[5]);
taxonList.add(el[6]);
}
lineCount++;
}
} |
Beanshells (1)
Name |
Description |
Inputs |
Outputs |
processQuickGoProteinListFormat |
|
quickGoProteinListFormat
header
|
idList
synonymList
typeList
taxonList
nameList
symbolList
dbList
test
|
Outputs (6)
Name |
Description |
nameList |
|
idList |
|
synonymList |
|
taxonList |
|
typeList |
|
symbolList |
|
Datalinks (8)
Source |
Sink |
quickGoProteinListFormat |
processQuickGoProteinListFormat:quickGoProteinListFormat |
header |
processQuickGoProteinListFormat:header |
processQuickGoProteinListFormat:nameList |
nameList |
processQuickGoProteinListFormat:idList |
idList |
processQuickGoProteinListFormat:synonymList |
synonymList |
processQuickGoProteinListFormat:taxonList |
taxonList |
processQuickGoProteinListFormat:typeList |
typeList |
processQuickGoProteinListFormat:symbolList |
symbolList |
Uploader
License
All versions of this Workflow are
licensed under:
Version 2 (latest)
(of 2)
Credits (1)
(People/Groups)
Attributions (0)
(Workflows/Files)
None
Shared with Groups (0)
None
Featured In Packs (0)
None
Log in to add to one of your Packs
Attributed By (0)
(Workflows/Files)
None
Favourited By (0)
No one
Statistics
Other workflows that use similar services
(0)
There are no workflows in myExperiment that use similar services to this Workflow.
Comments (0)
No comments yet
Log in to make a comment