Search in sources :

Example 1 with TrackReads

use of tracks.TrackReads in project ASCIIGenome by dariober.

the class ConfigTest method canSetConfig.

@Test
public void canSetConfig() throws ClassNotFoundException, IOException, InvalidGenomicCoordsException, InvalidRecordException, SQLException, InvalidColourException, InvalidConfigException {
    Config conf = new Config(null);
    conf.set(ConfigKey.seq_a, "grey");
    String bam = "test_data/adjacent.bam";
    GenomicCoords gc = new GenomicCoords("chr7:1-50", 80, null, null);
    TrackReads tr = new TrackReads(bam, gc);
    assertTrue(tr.printToScreen().contains("8m"));
    conf = new Config(null);
}
Also used : GenomicCoords(samTextViewer.GenomicCoords) TrackReads(tracks.TrackReads) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 GenomicCoords (samTextViewer.GenomicCoords)1 TrackReads (tracks.TrackReads)1