Adds all the records from another builder to this one.
Adds a non-paired read.
Adds a non-paired read. Returns an Option for convenience of calling map/foreach etc.
Adds a pair of reads to the file.
The default string of qualities to use.
The default string of qualities to use.
Shorter accessor for the sequence dictionary.
Returns an iterator over the records that have been built.
Returns an iterator over the records that have been built.
Generate a sequential name.
Generate a sequential name.
Generate a random sequence of bases of length readLength.
Generate a random sequence of bases of length readLength.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
Returns the number of records that have been built.
Returns the number of records that have been built.
Creates a SamReader over the records stored in a temporary file.
Writes the contents to a temporary file that will be deleted when the JVM exits.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
Writes the contents of the record set to the provided file path.
(samBuilder: MonadOps[SamRecord]).filter(p)
(samBuilder: MonadOps[SamRecord]).flatMap(f)
(samBuilder: MonadOps[SamRecord]).map(f)
(samBuilder: MonadOps[SamRecord]).withFilter(p)
Class to create sets of com.fulcrumgenomics.bam.api.SamRecords for testing.