private static ProteinSequence getUniprot ( String uniProtID ) throws Exception { AminoAcidCompoundSet set = AminoAcidCompoundSet . getAminoAcidCompoundSet ( ) ; UniprotProxySequenceReader < AminoAcidCompound > uniprotSequence = new UniprotProxySequenceReader < AminoAcidCompound > ( uniProtID , set ) ; ProteinSequence seq = new ProteinSequence ( uniprotSequence ) ; return seq ; }
Fetch a protein sequence from the UniProt web site