edu.mayo.bsi.ngsportal
Class SetFileLocations
java.lang.Object
edu.mayo.bsi.ngsportal.SetFileLocations
public class SetFileLocations
- extends Object
This class creates a command line tool that takes a file whose tab delimited lines are of the form:
PI (<last name>_<first name>[_<lan ID>])
run name
sample name
location (NL | RA | X)
[File Size (bytes | KB | MB | GB)]
(where the first line is an ignored header line), and adds the information to the NGS Portal Database.
Invoked by java -jar SetFileLocations.jar [properties file] [data file]
The properties file needs to hold the user name and encrypted password for modifying the database
@author Gregory Dougherty
SetFileLocations
public SetFileLocations()
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 filedataFilePath - Path to the data file