walaj / SeqLib

C++ htslib/bwa-mem/fermi interface for interrogating sequence data
http://bioinformatics.oxfordjournals.org/content/early/2016/12/21/bioinformatics.btw741.full.pdf+html
Other
133 stars 36 forks source link

hi #62

Closed lqsae closed 1 year ago

lqsae commented 3 years ago

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?

walaj commented 1 year ago

Missing #include SeqLib/RefGenome.h