final class OxfordNanoporeExperiment
Class that holds information about an Oxford Nanopore Experiment. @author: Sven Fillinger
Modifiers | Name | Description |
---|---|---|
private static java.lang.String |
FQDN_FILES |
|
private static java.lang.String |
FQDN_FOLDERS |
|
private java.util.List<OxfordNanoporeMeasurement> |
measurements |
|
private static java.util.Set |
nanoporeFileTypes |
|
private static java.util.Set |
nanoporeFolderTypes |
|
private java.lang.String |
sampleId |
Constructor and description |
---|
private OxfordNanoporeExperiment
(java.lang.String sampleId, java.util.List<OxfordNanoporeMeasurement> measurements) |
Type Params | Return Type | Name and description |
---|---|---|
|
static OxfordNanoporeExperiment |
create(java.util.Map nanoPoreSequencerOutput) Static factory method that creates a new instance from a Oxford Nanopore sequencer output. |
|
private static java.lang.reflect.Method |
determineMethod(java.lang.Class c) |
|
java.util.List<OxfordNanoporeMeasurement> |
getMeasurements() Provides a list of measurements contained within the experiment folder. |
|
java.lang.String |
getSampleCode() |
|
private static java.util.List |
parseChildren(java.util.List<java.util.Map> children) |
|
private static DataFile |
parseFile(java.util.Map fileTree) |
|
private static DataFolder |
parseFolder(java.util.Map fileTree) |
|
private static java.util.List<?> |
parseMeasurementItems(java.util.List<java.util.Map> items) |
|
private static java.util.List<OxfordNanoporeMeasurement> |
parseMeasurements(java.util.Map nanoPoreSequencerOutput) Helper method that creates the measurements from the sequencer output |
|
private static java.lang.String |
parseQbicIdFromRootFolder(java.util.Map nanoPoreSequencerOutput) Helper method that parses the QBiC identifier from the root folder name |
|
private static java.util.Optional<DataFolder> |
tryToCreateDataFolder(java.lang.reflect.Method method, java.lang.String name, java.lang.String relativePath, java.util.List children) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Static factory method that creates a new instance from a Oxford Nanopore sequencer output.
Map
- nanoPoreSequencerOutputProvides a list of measurements contained within the experiment folder.
Helper method that creates the measurements from the sequencer output
Helper method that parses the QBiC identifier from the root folder name