From Genome Analysis Wiki
Jump to navigationJump to search
231 bytes added
, 10:46, 29 March 2012
Line 142: |
Line 142: |
| ** <code>getQual()</code> returns a float containing the phred quality score | | ** <code>getQual()</code> returns a float containing the phred quality score |
| ** <code>getQualStr()</code> returns a string containing the phred quality score | | ** <code>getQualStr()</code> returns a string containing the phred quality score |
− | * Filter Information | + | * Filter Information - see [[#VcfRecordFilter|VcfRecordFilter]] for more information on extracting information |
| ** <code>getFilter()</code> returns a reference to the Info field information, a VcfRecordInfo object reference | | ** <code>getFilter()</code> returns a reference to the Info field information, a VcfRecordInfo object reference |
| ** <code>passedAllFilters()</code> returns true if the FILTER field indicates <code>PASS</code>, false if not. | | ** <code>passedAllFilters()</code> returns true if the FILTER field indicates <code>PASS</code>, false if not. |
Line 152: |
Line 152: |
| ** <code>allUnphased()</code> returns true if all the samples are unphased and none phased and false if any are not unphased | | ** <code>allUnphased()</code> returns true if all the samples are unphased and none phased and false if any are not unphased |
| ** <code>hasAllGenotypeAlleles()</code> returns true if all the samples have all the genotype alleles specified and false if any are missing or the GT field is missing. | | ** <code>hasAllGenotypeAlleles()</code> returns true if all the samples have all the genotype alleles specified and false if any are missing or the GT field is missing. |
| + | |
| + | === VcfRecordFilter === |
| + | <code>VcfRecords</code> contain the data from the <code>INFO</code> field in a <code>VcfRecordFilter</code> object. |