Platypus variantcaller.c:16971 errpr
0
0
Entering edit mode
5.9 years ago
nuketbilgen ▴ 40

Hi everyone. I am trying to use Platypus for variant calling. Even though I have tried everything I could to fix it (moved htslib to usr/local, exported paths to it) I always got the following error. I deleted and reinstalled platypus and htslib as well. Could you help me, please?

python Platypus.py callVariants --nCPU=3 --bamFiles=/home/nuketbilgen/kedigenom/fel9allignedminnos/minnos_felcat9aligned.bam --refFile=/home/nuketbilgen/feliscatus9/felCat9.fa output=/home/nuketbilgen/kedigenom/fel9allignedminnos/minnos9avariantcalls.vcf
Traceback (most recent call last):
  File "Platypus.py", line 9, in <module>
    import runner
  File "/home/nuketbilgen/Platypus_0.8.1/runner.py", line 9, in <module>
    import variantcaller
  File "htslibWrapper.pxd", line 203, in init variantcaller (variantcaller.c:16971)
ImportError: libhts.so.2: cannot open shared object file: No such file or directory
platypus • 2.3k views
ADD COMMENT
1
Entering edit mode

Did you try to install it via conda?

ADD REPLY
0
Entering edit mode

I installed it via conda now. But I don't know how to run it cause I can not locate Platypus.py file.

ADD REPLY
0
Entering edit mode

Just look around in the $HOME/anaconda3/bin folder like ls *platyp* *Platyp*. The binary should not be too difficult to find and will also be in PATH by default.

ADD REPLY
0
Entering edit mode

I can find it in /home/nuketbilgen/anaconda3/envs/my_env/bin/platypus as a link to program. Is it a problem that I have installed it into my_env?

ADD REPLY
0
Entering edit mode

No, I think not. Just activate that envir and you should be good to go.

ADD REPLY
0
Entering edit mode

As you have said, it is working. but now I get this error.

print "\n\n%s command is not yet implemented\n\n" %(x) ^ SyntaxError: invalid syntax

ADD REPLY
0
Entering edit mode

I have the same problem... where you able to solve?

ADD REPLY

Login before adding your answer.

Traffic: 2599 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6