public class GeneFeatureHelper extends Object
| Constructor and Description | 
|---|
| GeneFeatureHelper() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | addGeneIDGFF2GeneFeatures(LinkedHashMap<String,ChromosomeSequence> chromosomeSequenceList,
                         FeatureList listGenes)Load GFF2 feature file generated from the geneid prediction algorithm and map features onto the chromosome sequences | 
| static void | addGeneMarkGTFGeneFeatures(LinkedHashMap<String,ChromosomeSequence> chromosomeSequenceList,
                          FeatureList listGenes) | 
| static void | addGlimmerGFF3GeneFeatures(LinkedHashMap<String,ChromosomeSequence> chromosomeSequenceList,
                          FeatureList listGenes) | 
| static void | addGmodGFF3GeneFeatures(LinkedHashMap<String,ChromosomeSequence> chromosomeSequenceList,
                       FeatureList listGenes)Load GFF3 file using mRNA as the gene feature as not all GFF3 files are complete | 
| static LinkedHashMap<String,ChromosomeSequence> | getChromosomeSequenceFromDNASequence(LinkedHashMap<String,DNASequence> dnaSequenceList) | 
| static LinkedHashMap<String,GeneSequence> | getGeneSequences(Collection<ChromosomeSequence> chromosomeSequences) | 
| static LinkedHashMap<String,ProteinSequence> | getProteinSequences(Collection<ChromosomeSequence> chromosomeSequences) | 
| static LinkedHashMap<String,ChromosomeSequence> | loadFastaAddGeneFeaturesFromGeneIDGFF2(File fastaSequenceFile,
                                      File gffFile)Loads Fasta file and GFF2 feature file generated from the geneid prediction algorithm | 
| static LinkedHashMap<String,ChromosomeSequence> | loadFastaAddGeneFeaturesFromGeneMarkGTF(File fastaSequenceFile,
                                       File gffFile) | 
| static LinkedHashMap<String,ChromosomeSequence> | loadFastaAddGeneFeaturesFromGlimmerGFF3(File fastaSequenceFile,
                                       File gffFile) | 
| static LinkedHashMap<String,ChromosomeSequence> | loadFastaAddGeneFeaturesFromGmodGFF3(File fastaSequenceFile,
                                    File gffFile,
                                    boolean lazyloadsequences)Lots of variations in the ontology or descriptors that can be used in GFF3 which requires writing a custom parser to handle a GFF3 generated or used
 by a specific application. | 
| static LinkedHashMap<String,ChromosomeSequence> | loadFastaAddGeneFeaturesFromUpperCaseExonFastaFile(File fastaSequenceFile,
                                                  File uppercaseFastaFile,
                                                  boolean throwExceptionGeneNotFound) | 
| static void | main(String[] args) | 
| static void | outputFastaSequenceLengthGFF3(File fastaSequenceFile,
                             File gffFile)Output a gff3 feature file that will give the length of each scaffold/chromosome in the fasta file. | 
public static LinkedHashMap<String,ChromosomeSequence> loadFastaAddGeneFeaturesFromUpperCaseExonFastaFile(File fastaSequenceFile, File uppercaseFastaFile, boolean throwExceptionGeneNotFound) throws Exception
Exceptionpublic static void outputFastaSequenceLengthGFF3(File fastaSequenceFile, File gffFile) throws Exception
fastaSequenceFile - gffFile - Exceptionpublic static LinkedHashMap<String,ChromosomeSequence> loadFastaAddGeneFeaturesFromGeneIDGFF2(File fastaSequenceFile, File gffFile) throws Exception
fastaSequenceFile - gffFile - Exceptionpublic static void addGeneIDGFF2GeneFeatures(LinkedHashMap<String,ChromosomeSequence> chromosomeSequenceList, FeatureList listGenes) throws Exception
chromosomeSequenceList - listGenes - Exceptionpublic static LinkedHashMap<String,ChromosomeSequence> getChromosomeSequenceFromDNASequence(LinkedHashMap<String,DNASequence> dnaSequenceList)
public static LinkedHashMap<String,ChromosomeSequence> loadFastaAddGeneFeaturesFromGmodGFF3(File fastaSequenceFile, File gffFile, boolean lazyloadsequences) throws Exception
fastaSequenceFile - gffFile - lazyloadsequences - If set to true then the fasta file will be parsed for accession id but sequences will be read from disk when needed to save memoryExceptionpublic static void addGmodGFF3GeneFeatures(LinkedHashMap<String,ChromosomeSequence> chromosomeSequenceList, FeatureList listGenes) throws Exception
chromosomeSequenceList - listGenes - Exceptionpublic static LinkedHashMap<String,ChromosomeSequence> loadFastaAddGeneFeaturesFromGlimmerGFF3(File fastaSequenceFile, File gffFile) throws Exception
Exceptionpublic static void addGlimmerGFF3GeneFeatures(LinkedHashMap<String,ChromosomeSequence> chromosomeSequenceList, FeatureList listGenes) throws Exception
Exceptionpublic static LinkedHashMap<String,ChromosomeSequence> loadFastaAddGeneFeaturesFromGeneMarkGTF(File fastaSequenceFile, File gffFile) throws Exception
Exceptionpublic static void addGeneMarkGTFGeneFeatures(LinkedHashMap<String,ChromosomeSequence> chromosomeSequenceList, FeatureList listGenes) throws Exception
Exceptionpublic static LinkedHashMap<String,ProteinSequence> getProteinSequences(Collection<ChromosomeSequence> chromosomeSequences) throws Exception
Exceptionpublic static LinkedHashMap<String,GeneSequence> getGeneSequences(Collection<ChromosomeSequence> chromosomeSequences) throws Exception
ExceptionCopyright © 2000–2016 BioJava. All rights reserved.