X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fgo%2FTestGo.java;h=593d06dc8222ba341d5a75b70f37113a1e42d563;hb=0b49b8e750b34d28a5989facdd8a7959870de996;hp=9d5f0c7a45a8a66fb5bbbed2e43146a6fe886305;hpb=87d34f343d0262cd0c009c6f1da058a5a217bc64;p=jalview.git diff --git a/forester/java/src/org/forester/go/TestGo.java b/forester/java/src/org/forester/go/TestGo.java index 9d5f0c7..593d06d 100644 --- a/forester/java/src/org/forester/go/TestGo.java +++ b/forester/java/src/org/forester/go/TestGo.java @@ -395,7 +395,7 @@ public class TestGo { private static boolean testPfamToGoParser( final File test_dir ) { try { final PfamToGoParser parser = new PfamToGoParser( new File( test_dir + ForesterUtil.getFileSeparator() - + "pfam_to_go_test" ) ); + + "pfam_to_go_test" ) ); final List mappings = parser.parse(); if ( parser.getMappingCount() != 426 ) { return false; @@ -476,7 +476,7 @@ public class TestGo { private static boolean testSuperTermCounting( final File test_dir ) { try { final OBOparser parser = new OBOparser( new File( test_dir + ForesterUtil.getFileSeparator() - + "gene_ontology_edit.obo" ), OBOparser.ReturnType.BASIC_GO_TERM ); + + "gene_ontology_edit.obo" ), OBOparser.ReturnType.BASIC_GO_TERM ); final List all_go_terms = parser.parse(); if ( parser.getGoTermCount() != 27748 ) { return false; @@ -485,23 +485,23 @@ public class TestGo { final List categories = new ArrayList(); final List experiment_set = new ArrayList(); experiment_set.add( new BasicGoTerm( new GoId( "GO:0005690" ), "snRNP U4atac", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); experiment_set.add( new BasicGoTerm( new GoId( "GO:0009698" ), "phenylpropanoid metabolic process", GoNameSpace.createUnassigned(), false ) ); experiment_set.add( new BasicGoTerm( new GoId( "GO:0008150" ), "biological_process", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); experiment_set.add( new BasicGoTerm( new GoId( "GO:0006915" ), "apoptosis", GoNameSpace.createUnassigned(), false ) ); experiment_set.add( new BasicGoTerm( new GoId( "GO:0001783" ), "B cell apoptosis", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); experiment_set.add( new BasicGoTerm( new GoId( "GO:0010657" ), "muscle cell apoptosis", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); experiment_set.add( new BasicGoTerm( new GoId( "GO:0010657" ), "muscle cell apoptosis", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); experiment_set.add( new BasicGoTerm( new GoId( "GO:0010658" ), "striated muscle cell apoptosis", GoNameSpace.createUnassigned(), @@ -511,25 +511,25 @@ public class TestGo { GoNameSpace.createUnassigned(), false ) ); categories - .add( new BasicGoTerm( new GoId( "GO:0016265" ), "death", GoNameSpace.createUnassigned(), false ) ); + .add( new BasicGoTerm( new GoId( "GO:0016265" ), "death", GoNameSpace.createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0006915" ), "apoptosis", GoNameSpace.createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0008150" ), "biological_process", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0010657" ), "muscle cell apoptosis", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0010658" ), "striated muscle cell apoptosis", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0046242" ), "o-xylene biosynthetic process", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0016326" ), "kinesin motor activity", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0005575" ), "cellular_component", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0032502" ), "developmental process", GoNameSpace - .createUnassigned(), false ) ); + .createUnassigned(), false ) ); categories.add( new BasicGoTerm( new GoId( "GO:0051094" ), "positive regulation of developmental process", GoNameSpace.createUnassigned(), @@ -647,7 +647,7 @@ public class TestGo { private static boolean testSuperTermGetting( final File test_dir ) { try { final OBOparser parser = new OBOparser( new File( test_dir + ForesterUtil.getFileSeparator() - + "gene_ontology_edit.obo" ), OBOparser.ReturnType.BASIC_GO_TERM ); + + "gene_ontology_edit.obo" ), OBOparser.ReturnType.BASIC_GO_TERM ); final List go_terms = parser.parse(); if ( parser.getGoTermCount() != 27748 ) { return false;