Examples of FastqWriterFactory


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

Examples of net.sf.picard.fastq.FastqWriterFactory

    private static FastqWriterFactory fastqWriterFactory;

    private static FastqWriterFactory FastqWriterFactoryInstance(){
      if(fastqWriterFactory == null){
        fastqWriterFactory = new FastqWriterFactory();
      }
      return fastqWriterFactory;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.