Closed XH-BIM closed 1 month ago
更具体一些会更好
./Miniconda3-4.7.12-Linux-x86_64.sh export PATH="/share/home/grp-sunhao/xuhang/miniconda3/bin:$PATH" source ~/.bashrc
conda create -n ccsmethenv python=3.8 conda activate ccsmethenv git clone https://github.com/PengNi/ccsmeth.git cd ccsmeth python setup.py install
conda install bedtools -c bioconda
conda install pbccs pbmm2 samtools -c bioconda
conda install pytorch==2.1.0 pytorch-cuda=11.8 -c pytorch -c nvidia
ccsmeth call_hifi --subreads /path/to/subreads.bam \ --threads 10 \ --output /path/to/output.hifi.bam
ccsmeth align_hifi \ --hifireads hg002.chr20_demo.hifi.bam \ --ref chr20_demo.fa \ --output output.hifi.pbmm2.bam \ --threads 10
CUDA_VISIBLE_DEVICES=0 ccsmeth call_mods \ --input output.hifi.pbmm2.bam \ --ref chr20_demo.fa \ --model_file ccsmeth/models/model_ccsmeth_5mCpG_call_mods_attbigru2s_b21.v3.ckpt \ --output output.hifi.pbmm2.call_mods \ --threads 10 --threads_call 2 --model_type attbigru2s \ --mode align
ccsmeth call_freqb \ --input_bam output.hifi.pbmm2.call_mods.modbam.bam \ --ref chr20_demo.fa \ --output output.hifi.pbmm2.call_mods.modbam.freq \ --threads 10 --sort --bed \ --call_mode aggregate \ --aggre_model ccsmeth/models/model_ccsmeth_5mCpG_aggregate_attbigru_b11.v2p.ckpt
@Milokita
最好是开一个新的branch然后 PR
docker