← Về thư mục
skills/bioskills/bio-chip-seq-chip-deep-learning/scripts/chrombpnet_variant_effect.py
- encode_dna_one_hot · function · L16-L25 — def encode_dna_one_hot(seq, seq_length=2114)
- get_variant_seq · function · L28-L42 — def get_variant_seq(genome_fasta, chrom, pos_1based, ref, alt, seq_length=2114)
- predict_variant_effect · function · L46-L70 — def predict_variant_effect(model, ref_seq, alt_seq)
- classify_effect · function · L73-L81 — def classify_effect(log2_fc)
- predict_with_ensemble · function · L85-L97 — def predict_with_ensemble(model_paths, ref_seq, alt_seq)