bioinfomaticsCSU / deepsignal

Detecting methylation using signal-level features from Nanopore sequencing reads
GNU General Public License v3.0
108 stars 21 forks source link

ModuleNotFoundError: No module named 'txt_formater' #62

Closed PanZiwei closed 3 years ago

PanZiwei commented 3 years ago

Hi, I am trying to calculate methylation frequencies using scripts/call_modification_frequency.py, but get the error below:

Traceback (most recent call last):
  File "cal_methylation_freq.py", line 11, in <module>
    from txt_formater import ModRecord
ModuleNotFoundError: No module named 'txt_formater'
Traceback (most recent call last):
  File "cal_methylation_freq.py", line 11, in <module>
    from txt_formater import ModRecord
ModuleNotFoundError: No module named 'txt_formater'

I didn't find any information about the txt_formater module or find the download link for the package online. But I found the script in the script folder. Instead of cloning the git link, I installed the Deepsignal by conda install deepsignal. In this case, does it mean that I have to download both call_modification_frequency.py and txt_formater.py to use calculate methylation frequencies function?

Thank you so much for your help!

PengNi commented 3 years ago

@PanZiwei ,yes, the two scripts must be put to the same directory.