filter.hq.genes | R Documentation |
This function selects high quality genes from the set of annotated genes in a given gff3 file. It checks that the gene length is divisible by three (so that codons are intact) and that the translated protein starts with a methionine.
filter.hq.genes(gff.file, peptide.fasta, bed = F, gene.identifier = "Parent")
gff.file |
Path to the input gff3 file with gene models. |
peptide.fasta |
Path to the input fasta file with protein sequences of the gene models. |
bed |
Logical, whether to return coordinates in a bed format (True; 0-based) or gff3 coordinates (False, default; starts from 1). |
gene.identifier |
The unique identifier for matching exons with gene models in the gff3 file. Default is "Parent" |
A list with two items: HQ - high quality gene models and ALL - all gene models. Each list item is a reduced gff3 file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.