GenomicDataStream
A scalable interface between data and analysis
Loading...
Searching...
No Matches
utils.h File Reference
#include <armadillo>
#include <Eigen/Core>
#include <vector>
#include <random>
#include <algorithm>
#include <unordered_set>
#include <regex>
#include <boost/algorithm/string.hpp>

Go to the source code of this file.

Namespaces

namespace  gds

Enumerations

enum  gds::FileType {
  gds::VCF , gds::VCFGZ , gds::BCF , gds::BGEN ,
  gds::PGEN , gds::PBED , gds::OTHER
}

Functions

template<typename T>
std::vector< std::vector< T > > gds::chunk_vector (const std::vector< T > &vec, int k)