/// <summary> /// Genes that can be found in the cleavage efficiency files and the reactivity file. /// </summary> public static string[] GetValidNamesAll() { if (File.Exists(Config.WorkingFolder + "genes_have_all.txt")) { return(FileExtension.ReadList(Config.WorkingFolder + "genes_have_all.txt")); } string[] csNames = GetValidNames(); string[] eNames = Degradome.GetValidNames(); string[] rNames = Reactivity.GetValidNames(); string[] intersection = csNames.Intersect(eNames).Intersect(rNames).ToArray(); FileExtension.SaveList(Config.WorkingFolder + "genes_have_all.txt", intersection); return(intersection); }
public static void GenerateAll() { GetValidNamesAll(); Degradome.ToCleavageEfficiency(); Reactivity.Serialise(); Gene.Serialise(); GenerateCleavegeSites(); GenerateCleavageSiteFiles(); GenerateAverageReactivity(); GenerateStructureFiles(); // step 9 GenerateRnaStructPlots(); // step 10 RnaDistancePreprocess.Process(); }