Skip to content

Instantly share code, notes, and snippets.

@masak
Created June 29, 2009 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masak/137605 to your computer and use it in GitHub Desktop.
Save masak/137605 to your computer and use it in GitHub Desktop.
@Before
public void setup() {
biojava = new BiojavaManager();
//Introduce the allowed formats
try{
Class.forName("org.biojavax.bio.seq.io.EMBLFormat");
Class.forName("org.biojavax.bio.seq.io.FastaFormat");
Class.forName("org.biojavax.bio.seq.io.GenbankFormat");
Class.forName("org.biojavax.bio.seq.io.INSDseqFormat");
Class.forName("org.biojavax.bio.seq.io.EMBLxmlFormat");
Class.forName("org.biojavax.bio.seq.io.UniProtFormat");
Class.forName("org.biojavax.bio.seq.io.UniProtXMLFormat");
Class.forName("org.biojavax.bio.seq.io.RichSequenceFormat");
}
catch(ClassNotFoundException e){
System.out.println("Class not found" + e);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment