Package org.snpeff.ped
Class PedPedigree
java.lang.Object
org.snpeff.ped.PedPedigree
- All Implemented Interfaces:
Comparable<PedPedigree>,Iterable<TfamEntry>
- Direct Known Subclasses:
PedFamily
A pedigree of PedEntries
- Author:
- pcingola
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an entry to this pedigreeintcompareTo(PedPedigree ped) families()Split data into familiesGet a list of sample IDsiterator()keySet()voidLoad a pedigree from a PED and MAP file pairvoidLoad a TFAM filevoidSave pedigree as a TFAM filevoidsetVerbose(boolean verbose) intsize()toString()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PedPedigree
public PedPedigree() -
PedPedigree
-
-
Method Details
-
add
Add an entry to this pedigree- Parameters:
tfamEntry-
-
compareTo
- Specified by:
compareToin interfaceComparable<PedPedigree>
-
families
Split data into families- Returns:
-
get
-
getFamilyId
-
getPlinkMap
-
getSampleIds
Get a list of sample IDs- Returns:
-
iterator
-
keySet
-
load
Load a pedigree from a PED and MAP file pair- Parameters:
pedFileName-
-
loadTfam
Load a TFAM file- Parameters:
tfamFileName-
-
saveTfam
Save pedigree as a TFAM file- Parameters:
fileName-
-
setVerbose
public void setVerbose(boolean verbose) -
size
public int size() -
toString
-
values
-