Package org.biojava.bio.program.xff
Class XFFTools
- java.lang.Object
-
- org.biojava.bio.program.xff.XFFTools
-
public class XFFTools extends java.lang.ObjectCommon functionality for manipulating XFF.- Author:
- Matthew Pocock
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringXFF_BIOJAVA_NSstatic java.lang.StringXFF_NS
-
Constructor Summary
Constructors Constructor Description XFFTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidannotateXFF(java.io.File xffFile, Sequence sequence)static voidannotateXFF(java.io.File xffFile, Sequence sequence, Annotation ann)static SequencereadXFF(java.io.File xffFile, java.lang.String seqID)static SequencereadXFF(java.io.File xffFile, java.lang.String seqID, FiniteAlphabet alpha)static voidwriteXFF(java.io.File xffFile, FeatureHolder features)static voidwriteXFF(java.io.PrintWriter xffPR, FeatureHolder features)
-
-
-
Field Detail
-
XFF_NS
public static final java.lang.String XFF_NS
- See Also:
- Constant Field Values
-
XFF_BIOJAVA_NS
public static final java.lang.String XFF_BIOJAVA_NS
- See Also:
- Constant Field Values
-
-
Method Detail
-
annotateXFF
public static void annotateXFF(java.io.File xffFile, Sequence sequence) throws java.io.IOException, org.xml.sax.SAXException, BioException- Throws:
java.io.IOExceptionorg.xml.sax.SAXExceptionBioException
-
annotateXFF
public static void annotateXFF(java.io.File xffFile, Sequence sequence, Annotation ann) throws java.io.IOException, org.xml.sax.SAXException, BioException- Throws:
java.io.IOExceptionorg.xml.sax.SAXExceptionBioException
-
readXFF
public static Sequence readXFF(java.io.File xffFile, java.lang.String seqID, FiniteAlphabet alpha) throws java.io.IOException, org.xml.sax.SAXException, BioException
- Throws:
java.io.IOExceptionorg.xml.sax.SAXExceptionBioException
-
readXFF
public static Sequence readXFF(java.io.File xffFile, java.lang.String seqID) throws java.io.IOException, org.xml.sax.SAXException, BioException
- Throws:
java.io.IOExceptionorg.xml.sax.SAXExceptionBioException
-
writeXFF
public static void writeXFF(java.io.File xffFile, FeatureHolder features) throws java.io.IOException- Throws:
java.io.IOException
-
writeXFF
public static void writeXFF(java.io.PrintWriter xffPR, FeatureHolder features) throws java.io.IOException- Throws:
java.io.IOException
-
-