X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Ffull_javadoc%2Fcompbio%2Fdata%2Fsequence%2FFastaReader.html;fp=website%2Ffull_javadoc%2Fcompbio%2Fdata%2Fsequence%2FFastaReader.html;h=0000000000000000000000000000000000000000;hb=0bbebf27d045b1345bc042bdf24ef2e6808df251;hp=868b43e9b8b0dc6a338f0417a1f82ba97e8b6ac2;hpb=5be600c3985aa7bcb8d8b51d77d773c76e6802bb;p=jabaws.git diff --git a/website/full_javadoc/compbio/data/sequence/FastaReader.html b/website/full_javadoc/compbio/data/sequence/FastaReader.html deleted file mode 100644 index 868b43e..0000000 --- a/website/full_javadoc/compbio/data/sequence/FastaReader.html +++ /dev/null @@ -1,415 +0,0 @@ - - - -
- -
-
-
|
-- - | -|||||||||
- PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
- SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -
-java.lang.Object - compbio.data.sequence.FastaReader --
public class FastaReader
-Reads files with FASTA formatted sequences. All the information in the FASTA - header is preserved including trailing white spaces. All the white spaces are - removed from the sequence. - - Examples of the correct input: - -
- - >zedpshvyzg - GCQDKNNIAELNEIMGTTRSPSDWQHMKGASPRAEIGLTGKKDSWWRHCCSKEFNKTPPPIHPDMKRWGWMWNRENFEKFLIDNFLNPPCPRLMLTKGTWWRHEDLCHEIFWSTLRWLCLGNQSFSAMIWGHLCECHRMIWWESNEHMFWLKFRRALKKMNSNGPCMGPDNREWMITNRMGKEFCGPAFAGDCQSCWRKCHKTNKICFNEKKGTPTKIDHEQKDIMDILKDIDNHRNWKQCQLWLLTSKSTDQESTTMLTWSTWRDFFIIIKQPFDHKCRGALDANGDFQIAAELKWPAPMIILRQNQKTMHDKSCHHFFTNRCPLMHTTRANDKQCSWHTRKQFICQQDFTTWQHRPDTHRILPSWCMSTRRKNHIKNTPALAFSTCEMGDLPNGWAPGTIILQRQFTQAIKLPQETTGWPRCDPKFDHWNMSKWLRQLLGRDDEMIPPQCD - - >xovkactesa - CPLSKWWNRRAFLSHTANHWMILMTWEGPHDGESKMRIAMMKWSPCKPTMSHFRCGLDAWAEPIRQIACESTFRM - FCTTPRPIHKLTEMWGHMNGWTGAFCRQLECEWMMPPRHPHPCTSTFNNNKKRLIGQIPNEGKQLFINFQKPQHG - FSESDIWIWKDNPTAWHEGLTIAGIGDGQHCWNWMPMPWSGAPTSNALIEFWTWLGMIGTRCKTQGMWWDAMNHH - DQFELSANAHIAAHHMEKKMILKPDDRNLGDDTWMPPGKIWMRMFAKNTNACWPEGCRDDNEEDDCGTHNLHRMC - - >ntazzewyvv - CGCKIF D D NMKDNNRHG TDIKKHGFMH IRHPE KRDDC FDNHCIMPKHRRWGLWD - EASINM AQQWRSLPPSRIMKLNG HGCDCMHSHMEAD DTKQSGIKGTFWNG HDAQWLCRWG - EFITEA WWGRWGAITFFHAH ENKNEIQECSDQNLKE SRTTCEIID TCHLFTRHLDGW - RCEKCQANATHMTW ACTKSCAEQW FCAKELMMN - W KQMGWRCKIFRKLFRDNCWID FELPWWPICFCCKGLSTKSHSAHDGDQCRRW WPDCARDWLGPGIRGEF - FCTHICQQLQRNFWCGCFRWNIEKRMFEIFDDNMAAHWKKCMHFKFLIRIHRHGPITMKMTWCRSGCCFGKTRRLPDSSFISAFLDPKHHRDGSGMMMWSSEMRSCAIPDPQQAWNQGKWIGQIKDWNICFAWPIRENQQCWATPHEMPSGFHFILEKWDALAHPHMHIRQKKCWAWAFLSLMSSTHSDMATFQWAIPGHNIWSNWDNIICGWPRI - - > 12 d t y wi k jbke - KLSHHDCD - N - H - HSKCTEPHCGNSHQMLHRDP - CCDQCQSWEAENWCASMRKAILF - --
- -
-
-Constructor Summary | -|
---|---|
FastaReader(InputStream inputStream)
-
-- This class will not close the incoming stream! So the client should do - so. |
-|
FastaReader(String inputFile)
-
-- Header data can contain non-ASCII symbols and read in UTF8 |
-
-Method Summary | -|
---|---|
- void |
-close()
-
-- Call this method to close the connection to the input file if you want to - free up the resources. |
-
- boolean |
-hasNext()
-
-- |
-
- FastaSequence |
-next()
-
-- Reads the next FastaSequence from the input |
-
- void |
-remove()
-
-- Not implemented |
-
Methods inherited from class java.lang.Object | -
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
-
-Constructor Detail | -
---|
-public FastaReader(String inputFile) - throws FileNotFoundException-
-
inputFile
- the file containing the list of FASTA formatted sequences to
- read from
-FileNotFoundException
- if the input file is not found
-IllegalStateException
- if the close method was called on this instance-public FastaReader(InputStream inputStream) - throws FileNotFoundException-
-
inputStream
-
-FileNotFoundException
-Method Detail | -
---|
-public boolean hasNext()-
-
hasNext
in interface Iterator<FastaSequence>
IllegalStateException
- if the close method was called on this instance-public FastaSequence next()-
-
next
in interface Iterator<FastaSequence>
AssertionError
- if the header or the sequence is missing
-IllegalStateException
- if the close method was called on this instance-public void remove()-
-
remove
in interface Iterator<FastaSequence>
-public void close()-
-
-
-
|
-- - | -|||||||||
- PREV CLASS - NEXT CLASS | -- FRAMES - NO FRAMES - - - - - | -|||||||||
- SUMMARY: NESTED | FIELD | CONSTR | METHOD | --DETAIL: FIELD | CONSTR | METHOD | -