This is a test version of Biostars. For the public version, visit https://www.biostars.org.
pysam and samtools

I have installed pysam and samtools in my linux and use visual studio code for debug my python code. but I can not import pysam in visual studio, what is the problem ?

next-gen alignment

You mean you get an error? Could you be more informative?

yes I get error, It says module name pysam does not found.

If you have linux then you can simply call python from terminal and import pysam in it as follows,

python
>>> import pysam

Indeed, if you could confirm if pysam works in your "normal" python interpreter, then we can look at "visual studio" afterwards. I've never used that, but okay we'll manage.

yes,my terminal is work but I could not run it in my visual studio code.

How did you install it in visual studio? I find here that there is a specific way for visual studio.

0 answers

No answers yet.

Log in to answer this question.