edu.mayo.bsi.ngsportal
Class AddNGSPortalMetadata

java.lang.Object
  extended by edu.mayo.bsi.ngsportal.AddNGSPortalMetadata

public class AddNGSPortalMetadata
extends Object

This class creates a command line tool that takes a file whose comma delimited lines are of the form:

Run Name
Flowcell
Sample Name
RLIMS Family ID
RLIMS Parent ID
RLIMS ID
PI (<last name>_<first name>[_<lan ID | "none">])
Lane number
Read Type
Index (might be empty)
Application
Cycles

(where the first line is an ignored header line), and adds the information to the NGS Portal Database.

Invoked by java -jar AddNGSPortalMetadata.jar [properties file] [data file]

The properties file needs to hold the user name and encrypted password for modifying the database

@author Gregory Dougherty


Constructor Summary
AddNGSPortalMetadata()
           
 
Method Summary
static void main(String[] args)
           
static void setFileLocations(String propertiesPath, String dataFilePath)
          Parse the files and add the information to the database
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddNGSPortalMetadata

public AddNGSPortalMetadata()
Method Detail

main

public static final void main(String[] args)
Parameters:
args -

setFileLocations

public static final void setFileLocations(String propertiesPath,
                                          String dataFilePath)
Parse the files and add the information to the database

Parameters:
propertiesPath - Path to the properties file
dataFilePath - Path to the data file