public class ClusterDataToSamConverter extends java.lang.Object implements IlluminaBasecallsConverter.ClusterDataConverter<picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster>
Constructor and Description |
---|
ClusterDataToSamConverter(java.lang.String runBarcode,
java.lang.String readGroupId,
ReadStructure readStructure,
java.util.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(java.lang.String molecularIndexQualityTag)
Sets the SAM tag to use to store the molecular index base qualities.
|
ClusterDataToSamConverter |
withMolecularIndexTag(java.lang.String molecularIndexTag)
Sets the SAM tag to use to store the molecular index bases.
|
ClusterDataToSamConverter |
withTagPerMolecularIndex(java.util.List<java.lang.String> tagPerMolecularIndex)
Sets the SAM tags to use to store the bases each molecular index.
|
public ClusterDataToSamConverter(java.lang.String runBarcode, java.lang.String readGroupId, ReadStructure readStructure, java.util.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(java.lang.String molecularIndexTag)
public ClusterDataToSamConverter withMolecularIndexQualityTag(java.lang.String molecularIndexQualityTag)
public ClusterDataToSamConverter withTagPerMolecularIndex(java.util.List<java.lang.String> tagPerMolecularIndex)
public picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster convertClusterToOutputRecord(ClusterData cluster)
convertClusterToOutputRecord
in interface IlluminaBasecallsConverter.ClusterDataConverter<picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster>