Package htsjdk.samtools.fastq

Examples of htsjdk.samtools.fastq.FastqWriterFactory


    protected int doWork() {
        IOUtil.assertFileIsReadable(INPUT);
        final SAMFileReader reader = new SAMFileReader(IOUtil.openFileForReading(INPUT));
        final Map<String, SAMRecord> firstSeenMates = new HashMap<String, SAMRecord>();
        final FastqWriterFactory factory = new FastqWriterFactory();
        factory.setCreateMd5(CREATE_MD5_FILE);
        final Map<SAMReadGroupRecord, FastqWriters> writers = generateWriters(reader.getFileHeader().getReadGroups(), factory);

        final ProgressLogger progress = new ProgressLogger(log);
        for (final SAMRecord currentRecord : reader) {
            if (currentRecord.isSecondaryOrSupplementary() && !INCLUDE_NON_PRIMARY_ALIGNMENTS)
View Full Code Here

TOP

Related Classes of htsjdk.samtools.fastq.FastqWriterFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.