Hello, I'm setting up my PC to install pysam and deeptools.
- Ubuntu 16.04LTS
- pip install deeptools
- #python
- >>>import pysam
- >>>print pysam.__version__
- 0.9.1.4
- >>>cn = pysam.view("-F4","-c",'./testbam.bam');
- Segmentation fault ( core dumped )
this is an error. So I tried other way to install pysam.
- pip uninstall pysam
- apt-get install python-pysam
- #python
- >>>import pysam
- >>> print pysam.__version__
- 0.7.7
- >>>cn = pysam.view("-F4","-c",'./testbam.bam');
- >>>
I thought I solved but other error appear in deeptools
- #computeGCBias --numberOfProcessors 16 --fragmentLength 160 --bamfile IonXpress_001_rawlib.bam --effectiveGenomeSize 2451960000 --genome /hprnd0001/hg19fa/hg19fa/hg19.2bit --GCbiasFrequenciesFile frequencies.txt --plotFileFormat png --biasPlot plot --regionSize 200
- AttributeError: 'pysam.csamtools.AlignedRead' object has no attribute 'get_tags'
So I back to install pysam again.
- #pip install --upgrade pysam
then pysam version back to 0.9.1.4. And I did excute again "computeGCBias" command. and it is done well.
But first problem appeared again.(pysam's execution return "Segmentation Fault ( core dumped )"
my python version is 2.7.11. How can I solve this? Or is there a way to install pysam and deeptools well?
Please help me...
is not a descriptive title, fixed.