private static void MarkCanonicalTranscripts(MutableTranscript[] transcripts) { var ccdsIdToEnsemblId = CcdsReader.GetCcdsIdToEnsemblId(ExternalFiles.CcdsFile.FilePath); var lrgTranscriptIds = LrgReader.GetTranscriptIds(ExternalFiles.LrgFile.FilePath, ccdsIdToEnsemblId); Logger.Write("- marking canonical transcripts... "); var canonical = new CanonicalTranscriptMarker(lrgTranscriptIds); int numCanonicalTranscripts = canonical.MarkTranscripts(transcripts); Logger.WriteLine($"{numCanonicalTranscripts:N0} marked."); }
/// <summary> /// constructor /// </summary> public CanonicalTranscriptMarker(string lrgPath) { _lrgEntries = LrgReader.GetTranscriptIds(lrgPath); }