twang15 / K562-Analysis

1 stars 1 forks source link

BPNet tutorial-3 #18

Open twang15 opened 2 years ago

twang15 commented 2 years ago

Understanding the model

  1. Code: machine learning
  2. Biological meanings
twang15 commented 2 years ago

What does if name == "main": do?

What is init.py for?

  1. In the simplest case, init.py can just be an empty file, but it can also execute initialization code for the package or set the all variable, described later.
  2. package, module, class, variable, function: https://docs.python.org/3/tutorial/modules.html
    • import
    • from xx import

Packaging

Installation and Dependencies

Test

Documentation

Tutorial & Example

twang15 commented 2 years ago

wrapper for prediction

# set up the environment
source ~/conda_setup
conda activate basepairmodels

# prepare for one-hot encoding of target DNA sequence
pip install concise
conda install ipython