Open benayang opened 3 years ago
macOS or linux?
On Tue, Nov 30, 2021 at 8:03 AM Benjamin Yang @.***> wrote:
I installed epic2 v0.0.52 into a conda environment with python 3.7.3, but ran into the following error when I tried to run it. My pysam package should be up to date (v0.17.0).
Traceback (most recent call last): File "/opt/miniconda3/envs/epic2/bin/epic2", line 10, in
from epic2.main import _main File "/opt/miniconda3/envs/epic2/lib/python3.7/site-packages/epic2/main.py", line 5, in from epic2.src.reads_to_bins import files_to_bin_counts File "epic2/src/reads_to_bins.pyx", line 17, in init epic2.src.reads_to_bins File "epic2/src/read_bam.pyx", line 1, in init epic2.src.read_bam AttributeError: module 'pysam.libcalignmentfile' has no attribute 'PileupColumn' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/biocore-ntnu/epic2/issues/57, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHURUS4U7UQXVXE6PWFLATUORZMTANCNFSM5JBAB7DA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I'm using Ubuntu 18.04.
-- Benjamin Yang BME PhD Student
P: (408) 608-9888 | E: @.***
On Tue, Nov 30, 2021, 9:14 AM Endre Bakken Stovner @.***> wrote:
macOS or linux?
On Tue, Nov 30, 2021 at 8:03 AM Benjamin Yang @.***> wrote:
I installed epic2 v0.0.52 into a conda environment with python 3.7.3, but ran into the following error when I tried to run it. My pysam package should be up to date (v0.17.0).
Traceback (most recent call last): File "/opt/miniconda3/envs/epic2/bin/epic2", line 10, in
from epic2.main import _main File "/opt/miniconda3/envs/epic2/lib/python3.7/site-packages/epic2/main.py", line 5, in from epic2.src.reads_to_bins import files_to_bin_counts File "epic2/src/reads_to_bins.pyx", line 17, in init epic2.src.reads_to_bins File "epic2/src/read_bam.pyx", line 1, in init epic2.src.read_bam AttributeError: module 'pysam.libcalignmentfile' has no attribute 'PileupColumn' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/biocore-ntnu/epic2/issues/57, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AEHURUS4U7UQXVXE6PWFLATUORZMTANCNFSM5JBAB7DA
. Triage notifications on the go with GitHub Mobile for iOS < https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/biocore-ntnu/epic2/issues/57#issuecomment-982674691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVHALZOMI7N4BMAEHCVYDTUOTLZZANCNFSM5JBAB7DA .
This is weird. Pysam must have changed under my feet because it has worked fine until now. Perhaps I should peg an earlier pysam version? I should create a way for users to use bed if they have pysam-problems.
Anyways, I do not have time to investigate this until two weeks from now. Sorry! I'll get around to it after my exam.
On Tue, Nov 30, 2021 at 4:26 PM Benjamin Yang @.***> wrote:
I'm using Ubuntu 18.04.
-- Benjamin Yang BME PhD Student
P: (408) 608-9888 | E: @.***
On Tue, Nov 30, 2021, 9:14 AM Endre Bakken Stovner @.***> wrote:
macOS or linux?
On Tue, Nov 30, 2021 at 8:03 AM Benjamin Yang @.***> wrote:
I installed epic2 v0.0.52 into a conda environment with python 3.7.3, but ran into the following error when I tried to run it. My pysam package should be up to date (v0.17.0).
Traceback (most recent call last): File "/opt/miniconda3/envs/epic2/bin/epic2", line 10, in
from epic2.main import _main File "/opt/miniconda3/envs/epic2/lib/python3.7/site-packages/epic2/main.py", line 5, in from epic2.src.reads_to_bins import files_to_bin_counts File "epic2/src/reads_to_bins.pyx", line 17, in init epic2.src.reads_to_bins File "epic2/src/read_bam.pyx", line 1, in init epic2.src.read_bam AttributeError: module 'pysam.libcalignmentfile' has no attribute 'PileupColumn' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/biocore-ntnu/epic2/issues/57, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/AEHURUS4U7UQXVXE6PWFLATUORZMTANCNFSM5JBAB7DA
. Triage notifications on the go with GitHub Mobile for iOS <
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android <
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <https://github.com/biocore-ntnu/epic2/issues/57#issuecomment-982674691 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AHVHALZOMI7N4BMAEHCVYDTUOTLZZANCNFSM5JBAB7DA
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/biocore-ntnu/epic2/issues/57#issuecomment-982742778, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHURUUZ55KTERPB4HKE6VLUOTUKRANCNFSM5JBAB7DA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Thank you! I also tried using epic2 v0.0.41 from bioconda in the same conda environment but ran into the following error with both the provided example bedpe and bed files. Is there a way to fix this?
epic2 -t example/test.bed -c example/control.bed
Found a median readlength of 25.0
Using genome hg19.
Using an effective genome length of ~2510 * 1e6
Parsing ChIP file(s):
example/test.bed
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
Installing epic2 v0.0.52 via pip instead of conda seems to fix both errors!
Hooray! Thanks for reporting :)
On Wed, Dec 1, 2021 at 3:17 AM Benjamin Yang @.***> wrote:
Installing epic2 v0.0.52 via pip instead of conda seems to fix both errors!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/biocore-ntnu/epic2/issues/57#issuecomment-983220104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEHURUWPEAVX2WPPIHG2N6DUOWAVHANCNFSM5JBAB7DA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
I installed epic2 v0.0.52 into a conda environment with python 3.7.3, but ran into the following error when I tried to run it. My pysam package should be up to date (v0.17.0).