Package org.biojava.bio.seq.db
Class SwissprotSequenceDB
- java.lang.Object
-
- org.biojava.bio.seq.db.SwissprotSequenceDB
-
public class SwissprotSequenceDB extends java.lang.Object
This class contains functions accessing sequences in swiss-prot.- Author:
- Lei Lai, Matthew Pocock
-
-
Constructor Summary
Constructors Constructor Description SwissprotSequenceDB()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkIOException()
protected java.net.URL
getAddress(java.lang.String id)
protected Alphabet
getAlphabet()
java.lang.String
getName()
Sequence
getSequence(java.lang.String id)
protected SequenceFormat
getSequenceFormat()
-
-
-
Method Detail
-
getSequenceFormat
protected SequenceFormat getSequenceFormat()
-
getAlphabet
protected Alphabet getAlphabet()
-
getAddress
protected java.net.URL getAddress(java.lang.String id) throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
-
getName
public java.lang.String getName()
-
getSequence
public Sequence getSequence(java.lang.String id) throws BioException
- Throws:
BioException
-
checkIOException
public boolean checkIOException()
-
-