C# Class CAESGenome.Services.PhredService

Inheritance: IPhredService
Show file Open project: ucdavis/CAESGenome

Public Methods

Method Description
DownloadResults ( Barcode barcode ) : byte[]
ExecuteValidation ( int barcode ) : void
PhredService ( IRepositoryFactory repositoryFactory ) : System
SaveFiles ( byte contents, string filename, int &fileId ) : string
ScanFiles ( ) : void
SkipValidationAndAllowForDownload ( Barcode barcode ) : void

Private Methods

Method Description
FindEndIndex ( int numbers, int startIndex ) : int
FindIndexes ( int numbers, int &start, int &end ) : void
FindStartIndex ( int numbers ) : int
ParseFileName ( string filename, int &barcode, char &row, int &col ) : void
ReadPhredFile ( int barcode, BarcodeFile barcodeFile ) : int[]
RunPhred ( int barcode ) : void
ValidatePhred ( BarcodeFile bcf ) : void
WriteFile ( string filename, byte data, string path ) : bool

Method Details

DownloadResults() public method

public DownloadResults ( Barcode barcode ) : byte[]
barcode Barcode
return byte[]

ExecuteValidation() public method

public ExecuteValidation ( int barcode ) : void
barcode int
return void

PhredService() public method

public PhredService ( IRepositoryFactory repositoryFactory ) : System
repositoryFactory IRepositoryFactory
return System

SaveFiles() public method

public SaveFiles ( byte contents, string filename, int &fileId ) : string
contents byte
filename string
fileId int
return string

ScanFiles() public method

public ScanFiles ( ) : void
return void

SkipValidationAndAllowForDownload() public method

public SkipValidationAndAllowForDownload ( Barcode barcode ) : void
barcode Barcode
return void