public static LinkedHashMap<String, RNASequence> readGenbankRNASequence(File file, boolean lazySequenceLoad) throws Exception {
		if (!lazySequenceLoad) {
			return readGenbankRNASequence(file);
		}

		GenbankReader<RNASequence, NucleotideCompound> GenbankProxyReader =
				new GenbankReader<RNASequence, NucleotideCompound>(
						file,
						new GenericGenbankHeaderParser<RNASequence, NucleotideCompound>(),
						new FileProxyRNASequenceCreator(
								file,
								RNACompoundSet.getRNACompoundSet(),
								new GenbankSequenceParser<AbstractSequence<NucleotideCompound>, NucleotideCompound>()
							)
					);
		return GenbankProxyReader.process();

	}
public static LinkedHashMap < String , RNASequence > readGenbankRNASequence ( File file , boolean lazySequenceLoad ) throws Exception { if ( ! lazySequenceLoad ) { return readGenbankRNASequence ( file ) ; } GenbankReader < RNASequence , NucleotideCompound > GenbankProxyReader = new GenbankReader < RNASequence , NucleotideCompound > ( file , new GenericGenbankHeaderParser < RNASequence , NucleotideCompound > ( ) , new FileProxyRNASequenceCreator ( file , RNACompoundSet . getRNACompoundSet ( ) , new GenbankSequenceParser < AbstractSequence < NucleotideCompound > , NucleotideCompound > ( ) ) ) ; return GenbankProxyReader . process ( ) ; }
Selecting lazySequenceLoad=true will parse the Genbank file and figure out the accessionid and offsets and return sequence objects
that can in the future read the sequence from the disk. This allows the loading of large Genbank files where you are only interested
in one sequence based on accession id.
@param file
@param lazySequenceLoad
@return
@throws Exception