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
|
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 picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster convertClusterToOutputRecord(ClusterData cluster)
convertClusterToOutputRecord in interface IlluminaBasecallsConverter.ClusterDataConverter<picard.illumina.IlluminaBasecallsToSam.SAMRecordsForCluster>