java.lang.Object
edu.mit.wi.omnigene.service.analysis.pedtool.PedFileParser
- public class PedFileParser
- extends java.lang.Object
Title: PedFileParser.java
Description: Uses it to parse a pedigree file and store the data in object PedFile.
The format of pedigree file is:
column 1: familyID
column 2: individual ID
column 3: dad ID
column 4: mom ID
column 5: gender ( 1 is male, 2 is female )
column 6: affected status (1 is unaffected, 2 is affected )
column 7: (optional) libility
column 8 and 9: marker 1 (seperated by space)
column 2n and 2n+1: marker n (seperated by space)
Columns are seperated by tab except between one set of marker.
Family ID plus individual ID is unique and "0" stands for data missing.
- Version:
- $Revision 1.2 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PEDFILE
public static final int PEDFILE
- See Also:
- Constant Field Values
PEDFILE_WITHHEADER
public static final int PEDFILE_WITHHEADER
- See Also:
- Constant Field Values
PedFileParser
public PedFileParser()
parse
public static PedFile parse(java.io.File in,
int type)
throws CheckDataException
- Parses input file to object PedFile