This workflow uses one or more services that are deprecated as of 31st December 2012 (about 11 years ago), and may no longer function. Show details...

Drug Re-Purposing Workflow

Created: 2011-03-25 20:06:13      Last updated: 2011-04-01 12:40:56

 

 

 

 

This workflow will not work for anyone outside the Newcastle University domain, and may not even work past Spring 2011 due to Microbase webservices. It takes in two GI numbers and Blasts in the Cloud using Microbase, compares the results to the target proteome, and returns any proteins that are unique to the target strain.

 

 


 

  1. Needs to be 3 files on the user’s computer: source_proteins.txt, target_proteins.txt, blast_results.txt. These can be empty; they need to exist for Taverna to write to.
  2. Need a Tomcat server on the computer. Make sure the host has a semi-public address: in the tomcat/conf/server.xml file, change all references to “localhost” to your machine name, e.g. “cypher001.ncl.ac.uk”.
  3. Create and compile the two Java files: HelloWorldExample and RequestInfoExample. Change the file paths to the location of the source_proteins.txt and target_proteins.txt files respectively. They will need server-api.jar on their classpath (get it from the Tomcat lib)
  4. Drop the class files into tomcat/webapps/examples/WEB-INF/classes.
  5. Restart the Tomcat server
  6. The two Servlets are available from these addresses (depending on your machine name):
    1. Source: http://cypher001.ncl.ac.uk:8080/examples/servlets/servlet/HelloWorldExample
    2. Target: http://cypher001.ncl.ac.uk:8080/examples/servlets/servlet/RequestInfoExample
  7. Modify the get_target_url and get_source_url to point to the links above, as appropriate for your machine.
  8. Run with the paths of the three files from part 1, and the GI ids of two different species.



HelloWorldExample.java:

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class HelloWorldExample extends HttpServlet {

 public void doGet(HttpServletRequest req, HttpServletResponse res)
                              throws ServletException, IOException {

          // output an HTML page
       res.setContentType("text/html");

       // load a configuration parameter (you must set this yourself)
       String root = getInitParameter("root");

       // print some html
       ServletOutputStream out = res.getOutputStream();

       // print the file
       InputStream in = null;
       try {
           in = new BufferedInputStream
               (new FileInputStream("D:\\Workflows\\Ours\\source_proteins.txt") );
           int ch;
           while ((ch = in.read()) !=-1) {
               out.print((char)ch);
           }
       }
       finally {
           if (in != null) in.close();  // very important
       }
 }
}

RequestInfoExample.java:
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class RequestInfoExample extends HttpServlet {

 public void doGet(HttpServletRequest req, HttpServletResponse res)
                              throws ServletException, IOException {

          // output an HTML page
       res.setContentType("text/html");

       // load a configuration parameter (you must set this yourself)
       String root = getInitParameter("root");

       // print some html
       ServletOutputStream out = res.getOutputStream();

       // print the file
       InputStream in = null;
       try {
           in = new BufferedInputStream
               (new FileInputStream("D:\\Workflows\\Ours\\target_proteins.txt") );
           int ch;
           while ((ch = in.read()) !=-1) {
               out.print((char)ch);
           }
       }
       finally {
           if (in != null) in.close();  // very important
       }
 }
}

 

Information Preview

Information Run

Run this Workflow in the Taverna Workbench...

Option 1:

Copy and paste this link into File > 'Open workflow location...'
http://myexperiment.org/workflows/1984/download?version=1
[ More InfoExpand ]


Information Workflow Components

Information Authors (0)
Information Titles (0)
Information Descriptions (0)
Information Dependencies (0)
Inputs (5)
Processors (7)
Beanshells (5)
Outputs (4)
Datalinks (16)
Coordinations (1)

Information Workflow Type

Taverna 2

Information Uploader

Information License

All versions of this Workflow are licensed under:

Information Version 1 (earliest) (of 6)

View version:

Information Credits (2)

(People/Groups)

Information Attributions (0)

(Workflows/Files)

None

Information Tags (7)

Log in to add Tags

Information Shared with Groups (1)

Information Featured In Packs (0)

None

Log in to add to one of your Packs

Information Attributed By (0)

(Workflows/Files)

None

Information Favourited By (0)

No one

Information Statistics

 

Citations (0)

None


Version History

In chronological order:



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (0)

No comments yet

Log in to make a comment




Workflow Other workflows that use similar services (101)

Only the first 2 workflows that use similar services are shown. View all workflows that use these services.


Workflow Vaccine Targets Workflow (3)

Thumb
Comparison of the genome of Bacillus anthracis to closely related strains will allow the discovery of proteins which may be involved in pathogenicity. Based on the biochemical pathways where the protein interacts, vaccines can be designed for these unique proteins. By gaining insight into the biochemical pathways that the unique proteins are involved in, the proteins can also be assessed for potential quality as vaccines. The key components of the vaccine finding system are the following: T...

Created: 2011-03-30 | Last updated: 2011-04-01

Credits: User Morgan Taschuk Network-member A Team

Workflow KEGG Pathways and Additional Information f... (2)

Thumb
Takes in a tab-delimited BLAST file and finds additional information about the target proteins from KEGG, Gene Ontology, Interpro and PubMed.

Created: 2011-03-29 | Last updated: 2011-03-30

Credits: User Morgan Taschuk

Attributions: Workflow extract_uniprot_embl_gi.xml