Closed Zilong-Li closed 5 years ago
Hi, interestingly that looks like a problem with compiling htslib through SeqLib. I'm travelling currently so have limited time to look at this right now, but what kind of Linux are you on, what version of R is this, and have you ever had any problems installing things like samtools?
Thanks for the reply.The Linux is CentOS 6.9 and R version is 3.3.What's more, the other colleague have failed to install the angsd on the Linux due to the newest htslib version, and we fixed it by substituted with the old htslib version. I believe it may be a optional solution, and I also try to substitute the STITCH/src/SeqLib/htslib with the old version but failed. Looking forward to your reply.
Hey, really sorry, I had thought I'd have some time to look at this, but I'm now halfway through my August holidays with family and haven't had a chance to look at this in much depth. I'm travelling this week with limited / no internet until August 27th but will be able to investigate this in more detail on my return.
One small thing though, when you say you substituted the old STITCH/src/SeqLib/htslib, did you then install using a release tarball (R CMD INSTALL) or install using ./scripts/build-and-install.R? The former uses a static copy of htslib included in the tarball, while the latter would make use of STITCH/src/SeqLib/htslib.
Finally, I make it by using ./scripts/build-and-install.R. Thanks very much.
And best wishes for your holidays.
Hi, Dr Davies
I am very excited about STITCH new feature. And it is very helpful for my work that the latest version of STITCH can dramatically speed up analysis for low coverage samples. Thanks for your efforts very much.
However, this complication issue can't be solved by substituting with the old STITCH/src/SeqLib/htslib. any more. If the latest htslib is necessary, how can I fix this issue.
Any advice will be grateful.
Hey,
I don't think a newer STITCH/src/SeqLib/hstlib should be necessary? Maybe try swapping the entirety of STITCH/src/SeqLib from the version that worked for you to a new clone of STITCH? More formally maybe rolling back the pinned SeqLib commit to an old one would would? Can you try something like the following
git clone --recursive https://github.com/rwdavies/STITCH.git
cd STITCH
./scripts/install-dependencies.sh
cd STITCH/src/SeqLib/
git checkout 770cd10 # one of the earlier pinned versions of SeqLib
cd ../../../
./scripts/build-and-install.R
I make it ! Many thanks !
when I try to install STITCH on my linux system, I meet with this compilation issue
I have no idea how to fix this error. Any suggestion will be extremely grateful