WGLab / DeepMod2

DNA 5mC methylation detection from Dorado or Guppy basecalled Oxford Nanopore reads
MIT License
32 stars 2 forks source link

not running #23

Open Jeff-Field opened 5 months ago

Jeff-Field commented 5 months ago

i am getting this error if i run from umbutu

Traceback (most recent call last): File "/mnt/c/DeepMod2/raw_data/deepmod2/train/generate_features.py", line 10, in from numba import jit ModuleNotFoundError: No module named 'numba'

but mostly I am getting indent errors

umahsn commented 5 months ago

Hi Jeff,

Numba package should have been installed during conda environment creation, but if that didnt happen correctly, you can install it manually by running of these two commands in terminal while deepmod2 environment is activated:

pip install numba

or

conda install numba

Jeff-Field commented 5 months ago

I finally got it working on the laptop. I think that the issue was I closed a window and needed to type in : conda activate deepmod2

is there an equivalent command for my pc /linux, which seems to have the same issue after an update?

From: Mian Umair Ahsan @.> Date: Thursday, April 11, 2024 at 12:07 PM To: WGLab/DeepMod2 @.> Cc: Field, Jeffrey Michael @.>, Author @.> Subject: Re: [WGLab/DeepMod2] not running (Issue #23)

Hi Jeff,

Numba package should have been installed during conda environment creation, but if that didnt happen correctly, you can install it manually by running of these two commands in terminal while deepmod2 environment is activated:

pip install numba

or

conda install numba

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/WGLab/DeepMod2/issues/23*issuecomment-2050038794__;Iw!!IBzWLUs!V7qX8rOfS42TzyMMNR4D5CjgocdnAfRAnezU0k7UKiL87MWgznTNjXcpTrDuITAwCsatkBCNX16pY9HpgzQH9gzQ$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AO6NFLXZAWLOIOTN62DBGZTY42YLZAVCNFSM6AAAAABGBDISRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGAZTQNZZGQ__;!!IBzWLUs!V7qX8rOfS42TzyMMNR4D5CjgocdnAfRAnezU0k7UKiL87MWgznTNjXcpTrDuITAwCsatkBCNX16pY9Hpg33H0ejV$. You are receiving this because you authored the thread.Message ID: @.***>

umahsn commented 5 months ago

The same commands should also work in LINUX if the numba package is missing.

Jeff-Field commented 5 months ago

Just got it working again. The issue again was the command: conda activate deepmod2

From: Mian Umair Ahsan @.> Date: Friday, April 12, 2024 at 4:03 PM To: WGLab/DeepMod2 @.> Cc: Field, Jeffrey Michael @.>, Author @.> Subject: Re: [WGLab/DeepMod2] not running (Issue #23)

The same commands should also work in LINUX if the numba package is missing.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/WGLab/DeepMod2/issues/23*issuecomment-2052448307__;Iw!!IBzWLUs!UQyfwGXRs2wLG2-GwpTDpEOrJDdwwIfwcmpXdSGI3HeI71AwHLO31WqtbQTShlmERs3puQGvyNLFABjh8IA9-NWa$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AO6NFLRLY5O6UADZQ4AMZILY5A4XTAVCNFSM6AAAAABGBDISRWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJSGQ2DQMZQG4__;!!IBzWLUs!UQyfwGXRs2wLG2-GwpTDpEOrJDdwwIfwcmpXdSGI3HeI71AwHLO31WqtbQTShlmERs3puQGvyNLFABjh8PbaL91G$. You are receiving this because you authored the thread.Message ID: @.***>