Giter Site home page Giter Site logo

Comments (11)

bioinfo-fiend avatar bioinfo-fiend commented on June 30, 2024

I also receive the same issue

from fastq_utils.

nunofonseca avatar nunofonseca commented on June 30, 2024

Hi,

Did you install the dependencies (zlib and samtools 0.1.9)?

"samtools (version 0.1.19) and zlib (http://zlib.net) version 1.2.11 or latest are required to compile fastq_utils. The install_deps.sh script in the toplevel folder tries to download and compile the dependencies. "

Cheers.

from fastq_utils.

bioinfo-fiend avatar bioinfo-fiend commented on June 30, 2024

@nunofonseca Do these dependencies need to be located in the same directory? I tried installing these dependencies on my machine and still continued to get this error...

In home directory:

wget https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2
tar -vxjf samtools-1.9.tar.bz2
cd samtools-1.9
make

and similar process for installing Zlib....

from fastq_utils.

bioinfo-fiend avatar bioinfo-fiend commented on June 30, 2024

@nunofonseca I did a clean install and, installed dependencies samtools and Zlib, still producing same error...

from fastq_utils.

nunofonseca avatar nunofonseca commented on June 30, 2024

Yes, the Makefile assumes that samtools is installed in the same directory.
You should be able to compile successfully by running the following commands:

./install_deps.sh
make
make install

from fastq_utils.

bioinfo-fiend avatar bioinfo-fiend commented on June 30, 2024

@nunofonseca

The previous error was not present anymore, I continued to get a secondary error and not able to run the fastq_info command. However, it was just a matter of making the fastq_utils directory executable...

from fastq_utils.

nunofonseca avatar nunofonseca commented on June 30, 2024

The error seems to be a consequence of a typo: you probably wrote intstall instead of install (make install). The fastq_info and other programs will be copied to the bin/ folder in the toplevel fastq_utils directory.

from fastq_utils.

bioinfo-fiend avatar bioinfo-fiend commented on June 30, 2024

@nunofonseca thanks for the clarification, everything is working fine. you can close this issue if needed.

from fastq_utils.

bioinfo-fiend avatar bioinfo-fiend commented on June 30, 2024

@nunofonseca I'm still having issues again, it was working fine yesterday and today when trying to make the fastq_utils directory executable:

e.g.
chmod 700 ./fastq_utils/bin
chmod u+x ./fastq_utils/bin

chmod 700 ./fastq_utils/src
chmod u+x ./fastq_utils/src

-bash-4.2$ export PATH="/home//user/fastq_utils/:$PATH"

from fastq_utils.

nunofonseca avatar nunofonseca commented on June 30, 2024

Instead of
export PATH="/home//user/fastq_utils/:$PATH"
you may want to do
export PATH="/home//user/fastq_utils/bin/:$PATH"
?
Alternatively, you can simply copy the files in the fastq_utils/bin folder to a folder that is already in the $PATH.

from fastq_utils.

mshadbolt avatar mshadbolt commented on June 30, 2024

thanks for the debugging, I was successfully able to install now.

from fastq_utils.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.