lumpy-sv icon indicating copy to clipboard operation
lumpy-sv copied to clipboard

lumpy_filter missing / never built

Open jbsysadmin opened this issue 6 years ago • 2 comments

Greetings. I tried to install lumpy-sv v0.2.13 (for smoove-0.2.3). All dependencies are met, except one. When calling smoove, I see "lumpy_filter" is missing. The build instructions here make no direct allowance for lumpy_filter. There is nothing related to that in the resulting, in-place build tree. Was something needed beyond "make" to compile lumpy_filter? Are there flags /switches missing from the install doc?

jbsysadmin avatar Feb 06 '19 18:02 jbsysadmin

hello, same reasons (smoove) abd same problem here unfortunatly the v0.2.13 tag release does not contains the lumpy_filter code. (check src directory form archive versus src directory from git clone)

I was abble to fix the problem

wget https://raw.githubusercontent.com/arq5x/lumpy-sv/master/src/filter/filter.c
module load htslib/1.9
gcc gcc -o lumpy_filter filter.c -lcrypto -lcurl -lpthread -lz -lhts

if you don't have htslib available as a module,

  1. find where libhts.so is on your system eg /somehere/lib/libhts.so and note the parent directory name, => /somehere/lib
  2. find where htslib/sam.h is located on your system eg /somehere/include/htslib/sam.h and note the parent directory ==> /somehere/include/

then compile this way

gcc gcc -Isomehere/include -L/somehere/lib -o lumpy_filter filter.c -lcrypto -lcurl -lpthread -lz -lhts

EricDeveaud avatar Feb 13 '19 15:02 EricDeveaud

Thanks. I forgot to post: please close ticket. Issues were that I needed “all” target, and that I needed the latest lumpy (reported by smoove support.) I think the direct download link pointed to an older version.

git clone https://github.com/arq5x/lumpy-sv.git cd lumpy-sv make all

-John

From: Eric Deveaud [email protected] Sent: Wednesday, February 13, 2019 10:46 AM To: arq5x/lumpy-sv [email protected] Cc: Burns, W. J. [email protected]; Author [email protected] Subject: Re: [arq5x/lumpy-sv] lumpy_filter missing / never built (#289)

hello, same reasons (smoove) abd same problem here unfortunatly the v0.2.13 tag release does not contains the lumpy_filter code. (check src directory form archive versus src directory from git clone)

I was abble to fix the problem

wget https://raw.githubusercontent.com/arq5x/lumpy-sv/master/src/filter/filter.c

module load htslib/1.9

gcc gcc -o lumpy_filter filter.c -lcrypto -lcurl -lpthread -lz -lhts

if you don't have htslib available as a module,

  1. find where libhts.so is on your system eg /somehere/lib/libhts.so and note the parent directory name, => /somehere/lib
  2. find where htslib/sam.h is located on your system eg /somehere/include/htslib/sam.h and note the parent directory ==> /somehere/include/

then compile this way

gcc gcc -Isomehere/include -L/somehere/lib -o lumpy_filter filter.c -lcrypto -lcurl -lpthread -lz -lhts

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_arq5x_lumpy-2Dsv_issues_289-23issuecomment-2D463249258&d=DwMFaQ&c=G2MiLlal7SXE3PeSnG8W6_JBU6FcdVjSsBSbw6gcR0U&r=Lcm_WqJ_rUVrU3IQt7ALp57NrOU09lZVgNzJYrKHguE&m=cc5fHGHxN4QLeCKsR0IIvvDwoLxplpZSXCy0VdC7poc&s=ktgn_q3cs9hb0JA54kWKsxY6_TXRoRBMkUvSgaSJCs8&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AZsIo4xgqM62Q21Eicw4YgX280k3ljwcks5vNDMlgaJpZM4al4nA&d=DwMFaQ&c=G2MiLlal7SXE3PeSnG8W6_JBU6FcdVjSsBSbw6gcR0U&r=Lcm_WqJ_rUVrU3IQt7ALp57NrOU09lZVgNzJYrKHguE&m=cc5fHGHxN4QLeCKsR0IIvvDwoLxplpZSXCy0VdC7poc&s=v05dzQEIr0zDZvkny4rnWYo5x0XPLTIRrK7WGr-UC70&e=.

jbsysadmin avatar Feb 13 '19 17:02 jbsysadmin