Package htsjdk.samtools.example
Class ExampleSamUsage
java.lang.Object
htsjdk.samtools.example.ExampleSamUsage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convertReadNamesToUpperCase
(File inputSamOrBamFile, File outputSamOrBamFile) Read a SAM or BAM file, convert each read name to upper case, and write a new SAM or BAM file.static SeekableStream
void
Example usages ofSamReaderFactory
-
Constructor Details
-
ExampleSamUsage
public ExampleSamUsage()
-
-
Method Details
-
myIndexSeekableStream
-
openSamExamples
Example usages ofSamReaderFactory
- Throws:
MalformedURLException
-
convertReadNamesToUpperCase
public void convertReadNamesToUpperCase(File inputSamOrBamFile, File outputSamOrBamFile) throws IOException Read a SAM or BAM file, convert each read name to upper case, and write a new SAM or BAM file.- Throws:
IOException
-