comparison java-genomics-toolkit/src/edu/unc/genomics/nucleosomes/NucleosomeCallsFile.java @ 0:1daf3026d231

Upload alpha version
author timpalpant
date Mon, 13 Feb 2012 21:55:55 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1daf3026d231
1 /**
2 *
3 */
4 package edu.unc.genomics.nucleosomes;
5
6 import java.io.IOException;
7 import java.nio.file.Path;
8
9 import edu.unc.genomics.IntervalFactory;
10 import edu.unc.genomics.io.TextIntervalFile;
11
12 /**
13 * @author timpalpant
14 *
15 */
16 public class NucleosomeCallsFile extends TextIntervalFile<NucleosomeCall> {
17
18 public NucleosomeCallsFile(Path p) throws IOException {
19 super(p, new NucleosomeCallFactory());
20 }
21
22 public static class NucleosomeCallFactory implements IntervalFactory<NucleosomeCall> {
23
24 @Override
25 public NucleosomeCall parse(String line) {
26 return NucleosomeCall.parse(line);
27 }
28
29 }
30
31 }