Package org.broadinstitute.gatk.engine.io.stubs

Examples of org.broadinstitute.gatk.engine.io.stubs.SAMFileWriterStub


     * @param file the filename to write to
     * @param engine the engine
     * @return a SAMFileWriter with the correct options set
     */
    public static SAMFileWriter createSAMFileWriter(final String file, final GenomeAnalysisEngine engine) {
        final SAMFileWriterStub output = new SAMFileWriterStub(engine, new File(file));
        output.processArguments(engine.getArguments());
        return output;
    }
View Full Code Here


    /**
     *  As {@link #createSAMFileWriter(String, org.broadinstitute.gatk.engine.GenomeAnalysisEngine)}, but also sets the header
     */
    public static SAMFileWriter createSAMFileWriter(final String file, final GenomeAnalysisEngine engine, final SAMFileHeader header) {
        final SAMFileWriterStub output = (SAMFileWriterStub) createSAMFileWriter(file, engine);
        output.writeHeader(header);
        return output;
    }
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.engine.io.stubs.SAMFileWriterStub

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.