X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Ffull_javadoc%2Fcompbio%2Fdata%2Fsequence%2FClustalAlignmentUtil.html;fp=website%2Ffull_javadoc%2Fcompbio%2Fdata%2Fsequence%2FClustalAlignmentUtil.html;h=0000000000000000000000000000000000000000;hb=0bbebf27d045b1345bc042bdf24ef2e6808df251;hp=1df3a8619d779a10770fd267c9aa14be3d7cea36;hpb=5be600c3985aa7bcb8d8b51d77d773c76e6802bb;p=jabaws.git diff --git a/website/full_javadoc/compbio/data/sequence/ClustalAlignmentUtil.html b/website/full_javadoc/compbio/data/sequence/ClustalAlignmentUtil.html deleted file mode 100644 index 1df3a86..0000000 --- a/website/full_javadoc/compbio/data/sequence/ClustalAlignmentUtil.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - - -ClustalAlignmentUtil - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -compbio.data.sequence -
-Class ClustalAlignmentUtil

-
-java.lang.Object
-  extended by compbio.data.sequence.ClustalAlignmentUtil
-
-
-
-
public final class ClustalAlignmentUtil
extends Object
- - -

-Tools to read and write clustal formated files -

- -

-

-
Version:
-
1.0 September 2009
-
Author:
-
Petr Troshin based on jimp class
-
-
- -

- - - - - - - - - - - -
-Field Summary
-static chargapchar - -
-          Dash char to be used as gap char in the alignments
-  - - - - - - - - - - -
-Constructor Summary
ClustalAlignmentUtil() - -
-           
-  - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
-static booleanisValidClustalFile(InputStream input) - -
-          Please note this method closes the input stream provided as a parameter
-static AlignmentreadClustalFile(File file) - -
-           
-static AlignmentreadClustalFile(InputStream instream) - -
-          Read Clustal formatted alignment.
-static voidwriteClustalAlignment(Writer out, - Alignment alignment) - -
-          Write Clustal formatted alignment Limitations: does not record the - consensus.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-gapchar

-
-public static final char gapchar
-
-
Dash char to be used as gap char in the alignments -

-

-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-ClustalAlignmentUtil

-
-public ClustalAlignmentUtil()
-
-
- - - - - - - - -
-Method Detail
- -

-readClustalFile

-
-public static Alignment readClustalFile(InputStream instream)
-                                 throws IOException,
-                                        UnknownFileFormatException
-
-
Read Clustal formatted alignment. Limitations: Does not read consensus - - Sequence names as well as the sequences are not guaranteed to be unique! -

-

- -
Throws: -
{@link - IOException} -
{@link - UnknownFileFormatException} -
IOException -
UnknownFileFormatException
-
-
-
- -

-isValidClustalFile

-
-public static boolean isValidClustalFile(InputStream input)
-
-
Please note this method closes the input stream provided as a parameter -

-

-
Parameters:
input - -
Returns:
true if the file is recognised as Clustal formatted alignment, - false otherwise
-
-
-
- -

-writeClustalAlignment

-
-public static void writeClustalAlignment(Writer out,
-                                         Alignment alignment)
-                                  throws IOException
-
-
Write Clustal formatted alignment Limitations: does not record the - consensus. Potential bug - records 60 chars length alignment where - Clustal would have recorded 50 chars. -

-

-
Parameters:
out -
alignment - -
Throws: -
IOException
-
-
-
- -

-readClustalFile

-
-public static Alignment readClustalFile(File file)
-                                 throws UnknownFileFormatException,
-                                        IOException
-
-
- -
Throws: -
UnknownFileFormatException -
IOException
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - -