public class ReadStructure extends Object
Modifier and Type | Class and Description |
---|---|
class |
ReadStructure.Substructure
Represents a subset of ReadDescriptors in the containing ReadStructure, they ARE NOT necessarily contiguous
in the containing ReadStrucure but they ARE in the order they appear in the containing ReadStructure
|
Modifier and Type | Field and Description |
---|---|
ReadStructure.Substructure |
barcodes |
List<ReadDescriptor> |
descriptors |
ReadStructure.Substructure |
nonSkips |
static String |
PARAMETER_DOC |
int[] |
readLengths |
ReadStructure.Substructure |
skips |
ReadStructure.Substructure |
templates |
int |
totalCycles |
Constructor and Description |
---|
ReadStructure(List<ReadDescriptor> collection)
Copies collection into descriptors (making descriptors unmodifiable) and then calculates relevant statistics about descriptors.
|
ReadStructure(String readStructureString)
Converts readStructureString into a List
|
public static final String PARAMETER_DOC
public final List<ReadDescriptor> descriptors
public final int totalCycles
public final int[] readLengths
public final ReadStructure.Substructure barcodes
public final ReadStructure.Substructure templates
public final ReadStructure.Substructure skips
public final ReadStructure.Substructure nonSkips
public ReadStructure(List<ReadDescriptor> collection)
collection
- A collection of ReadDescriptors that describes this ReadStructurepublic ReadStructure(String readStructureString)
readStructureString
- A string of the format public int getNumDescriptors()
public String toString()