Package org.broad.igv.sam.reader

Examples of org.broad.igv.sam.reader.FeatureIndex


    @Test
    public void testIndexSam() throws Exception {
        String samFile = TestUtils.DATA_DIR + "sam/NA12878.muc1.test2.sam";
        String samFileIdx = doStandardIndex(samFile, "sai");

        FeatureIndex idx = SamUtils.getIndexFor(samFile);
        assertTrue(idx.containsChromosome("chr1"));
        assertEquals(1, idx.getIndexedChromosomes().size());
    }
View Full Code Here


    /**
     * Test of getIndexedChromosomes method, of class SamIndex.
     */
    @Test
    public void testGetIndexedChromosomes() {
        FeatureIndex idx = new FeatureIndex(f);
        assertTrue(idx.getIndexedChromosomes().size() > 0);
    }
View Full Code Here

TOP

Related Classes of org.broad.igv.sam.reader.FeatureIndex

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.