public class ClusterDataToSamConverter extends Object implements IlluminaBasecallsConverter.ClusterDataConverter<picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster>
| Constructor and Description |
|---|
ClusterDataToSamConverter(String runBarcode,
String readGroupId,
ReadStructure readStructure,
List<IlluminaUtil.IlluminaAdapterPair> adapters)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster |
convertClusterToOutputRecord(ClusterData cluster)
Creates the SAMRecord for each read in the cluster
|
ClusterDataToSamConverter |
withMolecularIndexQualityTag(String molecularIndexQualityTag)
Sets the SAM tag to use to store the molecular index base qualities.
|
ClusterDataToSamConverter |
withMolecularIndexTag(String molecularIndexTag)
Sets the SAM tag to use to store the molecular index bases.
|
ClusterDataToSamConverter |
withTagPerMolecularIndex(List<String> tagPerMolecularIndex)
Sets the SAM tags to use to store the bases each molecular index.
|
public ClusterDataToSamConverter(String runBarcode, String readGroupId, ReadStructure readStructure, List<IlluminaUtil.IlluminaAdapterPair> adapters)
runBarcode - Used to construct read names.readGroupId - If non-null, set RG attribute on SAMRecord to this.readStructure - The expected structure (number of reads and indexes,
and their length) in the read.adapters - The list of adapters to check for in the readpublic ClusterDataToSamConverter withMolecularIndexTag(String molecularIndexTag)
public ClusterDataToSamConverter withMolecularIndexQualityTag(String molecularIndexQualityTag)
public ClusterDataToSamConverter withTagPerMolecularIndex(List<String> tagPerMolecularIndex)
public picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster convertClusterToOutputRecord(ClusterData cluster)
convertClusterToOutputRecord in interface IlluminaBasecallsConverter.ClusterDataConverter<picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster>