Package org.broadinstitute.gatk.engine.samples

Examples of org.broadinstitute.gatk.engine.samples.Sample


        violationFamilies.clear();
        clearInheritanceMap();

        for(Set<Sample> family : families.values()){
            Iterator<Sample> sampleIterator = family.iterator();
            Sample sample;
            while(sampleIterator.hasNext()){
                sample = sampleIterator.next();
                if(sample.getParents().size() > 0)
                    updateViolations(sample.getFamilyID(),sample.getMaternalID(), sample.getPaternalID(), sample.getID() ,vc);
            }
        }
        return violations_total;
    }
View Full Code Here


public class CountMales extends ReadWalker<Integer, Integer> {
    @Output
    public PrintStream out;

    public Integer map(ReferenceContext ref, GATKSAMRecord read, RefMetaDataTracker tracker) {
        Sample sample = getSampleDB().getSample(read);
        return sample.getGender() == Gender.MALE ? 1 : 0;
    }
View Full Code Here

TOP

Related Classes of org.broadinstitute.gatk.engine.samples.Sample

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.