#ifndef _V_UTILS_HH_ #define _V_UTILS_HH_ #include #include #include #include #include "../Utils/Utils.hh" #include "VelvetHeaders.hh" #define VUTILS_FASTA_TITLE_DELIMITER "___" using namespace std; class VUtils { public: static char* getCharFileName( const string& name ); static double getNodeDensity( Node* node ); static int getNumOutArcs( Node* node ); static int getNumInArcs( Node* node ); static vector getOutNodes( Node* node ); static vector getInNodes( Node* node ); static string getTitle( Node* node ); static string getSequence( Node* node ); static double getTotalNodeDensity( const vector& nodes ); static double getMaxNodeDensity( const vector& nodes ); static double getMinNodeDensity( const vector& nodes ); static Node* getMaxDensityNode( const vector& nodes ); static Node* getMinDensityNode( const vector& nodes ); }; #endif // _V_UTILS_HH_