Comments (7)
I know it's been a hot minute, but here is how I built this:
$ git clone https://github.com/adaptivegenome/repeatseq
$ cd repeatseq
$ git clone https://github.com/pezmaster31/bamtools
$ git clone https://github.com/ekg/fastahack
$ cd bamtools
$ git checkout split-fix
$ mkdir build
$ cd build
$ cmake ../
$ make
$ cd ../fastahack
$ make
$ cd ..
$ make
$ export LD_LIBRARY_PATH=/path/to/bamtools/lib:$LD_LIBRARY_PATH
$ ./repeatseq
Not enough arguments given. Exiting..
-----------------------------------------------------------
RepeatSeq v0.8.2
Usage: repeatseq [options] <in.bam> <in.fasta> <in.regions>
Options: -r use only a specific read length or range of read lengths (e.g. LENGTH or MIN:MAX)
-L required number of reference matching bases BEFORE the repeat [3]
-R required number of reference matching bases AFTER the repeat [3]
-M minimum mapping quality for a read to be used for allele determination
-multi exclude reads flagged with the XT:A:R tag
-pp exclude reads that are not properly paired (for PE reads only)
-emitconfidentsites report all confident genotypes even if they do not vary from ref
-haploid assume a haploid rather than diploid genome
-repeatseq write .repeatseq file containing additional information about reads
-calls write .calls file
-t include user-defined tag in the output filename
-o number of flanking bases to output from each read
-----------------------------------------------------------
Hope this helps.
from repeatseq.
Hi, did you solve this? I also got this error when installing repeatseq.
from repeatseq.
I couldn't install either.
I got the following error
g++ -c -O3 -Ibamtools/src repeatseq.cpp
In file included from fastahack/Fasta.h:19:0,
from repeatseq.h:22,
from repeatseq.cpp:27:
fastahack/LargeFileSupport.h:14:0: warning: "fseek64" redefined
#define fseek64(a,b,c) fseeko(a,b,c)
In file included from bamtools/src/api/api_global.h:13:0,
from bamtools/src/api/BamAux.h:19,
from bamtools/src/api/BamAlignment.h:18,
from bamtools/src/api/BamReader.h:14,
from repeatseq.h:18,
from repeatseq.cpp:27:
bamtools/src/shared/bamtools_global.h:46:0: note: this is the location of the previous definition
#define fseek64(a, b, c) fseeko(a, b, c)
repeatseq.cpp: In function ‘bool fileCheck(std::__cxx11::string)’:
repeatseq.cpp:1398:9: error: cannot convert ‘std::ifstream {aka std::basic_ifstream}’ to ‘bool’ in return
return ifile;
^~~~~
makefile:13: recipe for target 'repeatseq.o' failed
make: *** [repeatseq.o] Error 1
Any suggetions?
from repeatseq.
I know it's been a hot minute, but here is how I built this:
$ git clone https://github.com/adaptivegenome/repeatseq $ cd repeatseq $ git clone https://github.com/pezmaster31/bamtools $ git clone https://github.com/ekg/fastahack $ cd bamtools $ git checkout split-fix $ mkdir build $ cd build $ cmake ../ $ make $ cd ../fastahack $ make $ cd .. $ make $ export LD_LIBRARY_PATH=/path/to/bamtools/lib:$LD_LIBRARY_PATH $ ./repeatseq Not enough arguments given. Exiting.. ----------------------------------------------------------- RepeatSeq v0.8.2 Usage: repeatseq [options] <in.bam> <in.fasta> <in.regions> Options: -r use only a specific read length or range of read lengths (e.g. LENGTH or MIN:MAX) -L required number of reference matching bases BEFORE the repeat [3] -R required number of reference matching bases AFTER the repeat [3] -M minimum mapping quality for a read to be used for allele determination -multi exclude reads flagged with the XT:A:R tag -pp exclude reads that are not properly paired (for PE reads only) -emitconfidentsites report all confident genotypes even if they do not vary from ref -haploid assume a haploid rather than diploid genome -repeatseq write .repeatseq file containing additional information about reads -calls write .calls file -t include user-defined tag in the output filename -o number of flanking bases to output from each read -----------------------------------------------------------
Hope this helps.
I use your method to install Repeatseq,but when make, there was also error as follow:
repeatseq.cpp: In function 'bool fileCheck(std::__cxx11::string)':
repeatseq.cpp:1398:9: error: cannot convert 'std::ifstream {aka std::basic_ifstream}' to 'bool' in return
return ifile;
^~~~~
makefile:13: recipe for target 'repeatseq.o' failed
make: *** [repeatseq.o] Error 1
I would be appreciated if there is any suggestions.
from repeatseq.
I use your method to install Repeatseq,but when make, there was also error as follow:
repeatseq.cpp: In function 'bool fileCheck(std::__cxx11::string)':
repeatseq.cpp:1398:9: error: cannot convert 'std::ifstream {aka std::basic_ifstream}' to 'bool' in return
return ifile;
^~~~~
makefile:13: recipe for target 'repeatseq.o' failed
make: *** [repeatseq.o] Error 1I would be appreciated if there is any suggestions.
What gcc version are you using? I'd suggest trying a more recent version 8 or 9.
from repeatseq.
I use your method to install Repeatseq,but when make, there was also error as follow:
repeatseq.cpp: In function 'bool fileCheck(std::__cxx11::string)':
repeatseq.cpp:1398:9: error: cannot convert 'std::ifstream {aka std::basic_ifstream}' to 'bool' in return
return ifile;
^~~~~
makefile:13: recipe for target 'repeatseq.o' failed
make: *** [repeatseq.o] Error 1
I would be appreciated if there is any suggestions.What gcc version are you using? I'd suggest trying a more recent version 8 or 9.
Today, I already installed gcc9.1.0 version , but when making,there was the same problem as like above. So, please give me some advice.
from repeatseq.
Hi,
I have fixed the error changing line 1398 (funcbool fileCheck(string strFilename)) from
return ifile;
to
return ifile.good();
Good luck
from repeatseq.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repeatseq.