Package 

Class GraphIO

  • All Implemented Interfaces:

    
    public class GraphIO
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static String writeFasta(HaplotypeGraph graph, String filename) Writes given graph to fasta format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • writeFasta

         static String writeFasta(HaplotypeGraph graph, String filename)

        Writes given graph to fasta format. The information line for each sequence is the haplotypes.haplotypes_id

        Parameters:
        graph - graph
        filename - output filename