
org.snpeff.ped.PedFamily Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SnpEff Show documentation
Show all versions of SnpEff Show documentation
Variant annotation and effect prediction package.
The newest version!
package org.snpeff.ped;
/**
* A family: A group of Tfams with the same familyId
*
* @author pcingola
*/
public class PedFamily extends PedPedigree {
String familyId = null;
public PedFamily() {
super();
}
/**
* Add an entry t this family
* @param tfamEntry
*/
@Override
public void add(TfamEntry tfamEntry) {
if ((familyId != null) && (!familyId.equals(tfamEntry.getFamilyId()))) throw new RuntimeException("Cannot add memeber to family. Family IDs do not match: '" + familyId + "' vs '" + tfamEntry.getFamilyId() + "'");
tfamEntryById.put(tfamEntry.getId(), tfamEntry);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy