fr.umlv.gramofone.proteins
Class MyWSDbFetchClient

java.lang.Object
  extended by fr.umlv.gramofone.proteins.MyWSDbFetchClient

public class MyWSDbFetchClient
extends java.lang.Object

Class to get fasta files from internet

Author:
fsikora

Constructor Summary
MyWSDbFetchClient()
           
 
Method Summary
static java.lang.String fetchBatch(java.util.List<java.lang.String> proteins, java.lang.String resultFileName, GMTask task, java.lang.String status)
          Take a list of proteins, and return a file with the fastas sequence of these proteins
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyWSDbFetchClient

public MyWSDbFetchClient()
Method Detail

fetchBatch

public static java.lang.String fetchBatch(java.util.List<java.lang.String> proteins,
                                          java.lang.String resultFileName,
                                          GMTask task,
                                          java.lang.String status)
Take a list of proteins, and return a file with the fastas sequence of these proteins

Parameters:
proteins - a list of proteins to get fasta sequence
task, - String status
file - name to write
Returns:
the fileName which contains the Fasta data