0
|
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 }
|