相關(guān)成果發(fā)表在NAR贬蛙,Zijie Jiang, Zhixiang Peng, Zhaoyuan Wei, Jiahe Sun, Yongjiang Luo, Lingzi Bie, Guoqing Zhang, Yi Wang, A deep learning-based method enables the automatic and accurate assembly of chromosome-level genomes, Nucleic Acids Research, 2024;, gkae789, https://doi.org/10.1093/nar/gkae789
githup: https://github.com/Jwindler/AutoHiC?tab=readme-ov-file
可以直接使用onehic护糖,需要提供**hic, assembly文件铣墨,該格式通常有3d-DNA輸出,對(duì)我來說3d-DNA很繁瑣产雹,較慢毡咏,因此可以直接利用bwa比對(duì)剃允,繼而獲得bam文件教翩,而后轉(zhuǎn)為hic和assembly文件杆勇。
或者直接可以使用 haphic流程獲得assembly以及hic。
使用onehic的流程可以參考作者所述:https://github.com/Jwindler/AutoHiC/blob/main/example/other_tools.md
#安裝
# clone AutoHiC
git clone https://github.com/Jwindler/AutoHiC.git
# cd AutoHiC
cd AutoHiC
# create AutoHiC env
conda env create -f autohic.yaml
# activate AutoHiC
conda activate autohic
# configuration environment
cd ./src/models/swin
# install dependencies
pip install -e . -i https://pypi.tuna.tsinghua.edu.cn/simple/
使用onehic
# Enter the AutoHiC directory.
cd /home/ubuntu/AutoHic
# run onehic
python3.9 onehic.py -hic out.hic -asy out.assembly -autohic /home/ubuntu/AutoHic -p pretrained.pth -out ./
## 其中模型可以從作者提供的鏈接進(jìn)行下載即可
## get new fasta
python juicebox_assembly_converter.py -a adjusted.assembly -f genome.fasta