SeqLib icon indicating copy to clipboard operation
SeqLib copied to clipboard

hi

Open lqsae opened this issue 3 years ago • 1 comments

lqsae avatar Mar 01 '21 07:03 lqsae

hi! my main cpp code is: #include #include "SeqLib/BWAWrapper.h" #include "SeqLib/GenomicRegion.h" using namespace SeqLib; using namespace std; int main() { RefGenome ref; ref.LoadIndex("hg19.fasta"); std::string seq = ref.QueryRegion("1", 1000000,1001000); cout <<seq<<endl; return 0;

}

when i run : g++ main.cpp -std=c++11 -I/home/lqs/biosoft/SeqLib/ -L/home/lqs/biosoft/SeqLib/lib -lhts -lbwa -lfml -lseqlib main.cpp:36:5: error: ‘RefGenome’ was not declared in this scope can you help me?

lqsae avatar Mar 01 '21 07:03 lqsae

Missing #include SeqLib/RefGenome.h

walaj avatar Dec 19 '22 15:12 walaj