@Test void testV2Header() { String expected="#DatabaseID\tDiseaseName\tQualifier\tHPO_ID\tReference\tEvidence\tOnset\tFrequency\tSex\tModifier\tAspect\tBiocuration"; assertEquals(expected,PhenotypeDotHpoaFileWriter.getHeaderLine()); }
static String getHeaderLine() { String[] fields = {"DatabaseID", "DiseaseName", "Qualifier", "HPO_ID", "Reference", "Evidence", "Onset", "Frequency", "Sex", "Modifier", "Aspect", "Biocuration"}; return "#" + String.join("\t", fields); }
PhenotypeDotHpoaFileWriter { static String getHeaderLine() { String[] fields = {"DatabaseID", "DiseaseName", "Qualifier", "HPO_ID", "Reference", "Evidence", "Onset", "Frequency", "Sex", "Modifier", "Aspect", "Biocuration"}; return "#" + String.join("\t", fields); } }
PhenotypeDotHpoaFileWriter { static String getHeaderLine() { String[] fields = {"DatabaseID", "DiseaseName", "Qualifier", "HPO_ID", "Reference", "Evidence", "Onset", "Frequency", "Sex", "Modifier", "Aspect", "Biocuration"}; return "#" + String.join("\t", fields); } private  PhenotypeDotHpoaFileWriter(Ontology ont,
                                     String smallFileDirectoryPath,
                                     String orphaPhenotypeXMLpath,
                                     String orphaInheritanceXMLpath,
                                     String outpath,
                                     boolean toler,
                                     boolean merge_fr); }
PhenotypeDotHpoaFileWriter { static String getHeaderLine() { String[] fields = {"DatabaseID", "DiseaseName", "Qualifier", "HPO_ID", "Reference", "Evidence", "Onset", "Frequency", "Sex", "Modifier", "Aspect", "Biocuration"}; return "#" + String.join("\t", fields); } private  PhenotypeDotHpoaFileWriter(Ontology ont,
                                     String smallFileDirectoryPath,
                                     String orphaPhenotypeXMLpath,
                                     String orphaInheritanceXMLpath,
                                     String outpath,
                                     boolean toler,
                                     boolean merge_fr); static PhenotypeDotHpoaFileWriter factory(Ontology ont,
                                                   String smallFileDirectoryPath,
                                                   String orphaPhenotypeXMLpath,
                                                   String orphaInheritanceXMLpath,
                                                   String outpath,
                                                   boolean toler,
                                                   boolean merge_fr); void outputBigFile(); }
PhenotypeDotHpoaFileWriter { static String getHeaderLine() { String[] fields = {"DatabaseID", "DiseaseName", "Qualifier", "HPO_ID", "Reference", "Evidence", "Onset", "Frequency", "Sex", "Modifier", "Aspect", "Biocuration"}; return "#" + String.join("\t", fields); } private  PhenotypeDotHpoaFileWriter(Ontology ont,
                                     String smallFileDirectoryPath,
                                     String orphaPhenotypeXMLpath,
                                     String orphaInheritanceXMLpath,
                                     String outpath,
                                     boolean toler,
                                     boolean merge_fr); static PhenotypeDotHpoaFileWriter factory(Ontology ont,
                                                   String smallFileDirectoryPath,
                                                   String orphaPhenotypeXMLpath,
                                                   String orphaInheritanceXMLpath,
                                                   String outpath,
                                                   boolean toler,
                                                   boolean merge_fr); void outputBigFile();  }