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
• 3,530 views
•
link
written
by
se69farahi •
0 answers
No answers yet.
Log in to answer this question.
More posts like this
-
Assigning a string variable on Visual Studio using python
written by arthur_alexander83 •I was using visual studio and the bash terminal, and I was getting syntax errors each time I was trying to assign a variable, e.g.:- …
-
Bioinformatics package
written by zainabi8077 •I'm attempting to create a python GUI for analysing tRNA-Seq data that can run on Linux and Windows. It is necessary to run several applications, …
-
errors installing HTSeq
written by rhksgudbc •Hello I'm trying to install HTSeq as described in the link below https://htseq.readthedocs.io/en/master/install.html#install Cause I'm ussing ubuntu, I used this command sudo apt-get install build-essential …
-
IOError: [Errno 93] could not open alignment file `https://...`: Protocol not supported
written by jfreidin1 •I have pysam code that works fine with pyenv-virtualenv on OSX but fails with miniconda2 on Centos: IOError: [Errno 93] could not open alignment file …
-
How can I install the PyAffy Python package under Windows 7?
written by Thomas.F.Hahn3 •I need to install the Python package PyAffy under Windows 7. It seems to be the only package, which can read in the .cel files, …
-
let me know examples of "pysam.view()" for counting BAM.
written by mink2mink2 •Hi, guys. I'm a beginer of pysam. I got some body's code. import pysam cn = pysam.view("-F4","-c","./a.bam"); print cn; when I use pysam 0.7.7, it …
-
Problems with Pysam and deeptools [Help me, please..]
written by mink2mink2 •Hello, I'm setting up my PC to install pysam and deeptools. 1. Ubuntu 16.04LTS 2. pip install deeptools 3. #python 4. >>>import pysam 5. >>>print …
-
cannot import pysam. Module has no attribute error
written by QVINTVS_FABIVS_MAXIMVSIf I do this $ python -c "import pysam" I get no errors However, if I do this #!/home/xxx/anaconda/bin/python import pysam bam_file = pysam.AlignmentFile("in.bam", "rb") …
-
DRIMM-synteny : C# compilation errors in Ubuntu 14.04 LTS
written by jigen.no.majou •Hello I am planning to use DRIMM-synteny. I need to compile it from its C# source code (which I have found at http://bix.ucsd.edu/projects/drimm/#DRIMM, bottom of …
-
How to over come "TypeError: argument of type 'int' is not iterable" in python?
written by muraliHi, I am working on variant calling. My goal is to get the chromosome positions from vcf file and coverage on positive and negative strands. …
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,
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.