Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some errors may occur when use parallel operation #301

Closed
yangwu91 opened this issue Jun 21, 2016 · 5 comments
Closed

Some errors may occur when use parallel operation #301

yangwu91 opened this issue Jun 21, 2016 · 5 comments
Labels

Comments

@yangwu91
Copy link

yangwu91 commented Jun 21, 2016

To use parallel operation, you should build vsflib first:

   $ cd /dir/to /freebayes/vcflib/
   $ make

Error:

   ../vcflib/bin/vcfstreamsort: error while loading shared libraries: libhts.so: cannot open shared object file: No such file or directory

Solution:

   $ export LD_LIBRARY_LIB=$LD_LIBRARY_LIB:/dir/to/samtools/htslib-1.x.x/

Error:

   ./freebayes-parallel: line 38: parallel: command not found

Solution (Ubuntu):

   $ sudo apt-get install parallel

Error:

   ./freebayes-parallel: line 40: vcfuniq: command not found

Solution:
Modify Line 40 in /dir/to/freebayes/scripts/freebayes-parallel to this:

    | ../vcflib/bin/vcfstreamsort -w 1000 | ../vcflib/bin/vcfuniq # remove duplicates at region edges
@rwhetten
Copy link
Contributor

rwhetten commented Nov 6, 2016

Modify the environment variable $LD_LIBRARY_PATH, not $LD_LIBRARY_LIB, to solve the problem with libhts.so.1

 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/htslib-1.x.x

@oushujun
Copy link

oushujun commented Feb 8, 2017

Solution for errors on libhts.so.1:

$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/**freebays**/htslib-1.x.x/

The htslib is not in /samtools/ but from the sub-module of freebayes

@tseemann
Copy link
Contributor

@yangwu91 you need to install vcflib too.

@github-actions
Copy link

This issue is marked stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Dec 11, 2020
@github-actions
Copy link

This issue was closed for lack of activity. Feel free to re-open if someone feels like working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants