bioinfo:long_read_assembly_2024
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| bioinfo:long_read_assembly_2024 [2024/06/17 08:29] – hyjeong | bioinfo:long_read_assembly_2024 [2025/07/02 13:26] (current) – hyjeong | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * conda zga environment - canu, flye 등 long read assembly와 관련한 것이 여기에 설치되어 있다. | * conda zga environment - canu, flye 등 long read assembly와 관련한 것이 여기에 설치되어 있다. | ||
| + | |||
| + | ===== minimap2-miniasm 파이프라인 ===== | ||
| + | |||
| + | |||
| + | 다시 이 문서를 이어서 쓰기 시작한 것은 2025년 여름이다. 같은 서버에서 conda 환경을 쓰지 않고 직접 필요한 프로그램, | ||
| + | |||
| + | #!/bin/bash | ||
| + | | ||
| + | # 파일명: assemble_racon_only.sh | ||
| + | # 사용법: bash assemble_racon_only.sh ABAY09004.fq | ||
| + | | ||
| + | set -e | ||
| + | | ||
| + | READS=$1 | ||
| + | BASENAME=$(basename " | ||
| + | THREADS=4 | ||
| + | | ||
| + | # 1. read-to-read overlap 계산 | ||
| + | echo "[1/5] Running minimap2 for overlaps..." | ||
| + | minimap2 -x ava-ont -t $THREADS " | ||
| + | | ||
| + | # 2. miniasm으로 layout 생성 | ||
| + | echo "[2/5] Running miniasm..." | ||
| + | miniasm -f " | ||
| + | | ||
| + | # 3. GFA → FASTA 변환 | ||
| + | echo "[3/5] Converting GFA to FASTA..." | ||
| + | awk '/ | ||
| + | | ||
| + | # 4. racon 1차 polishing | ||
| + | echo "[4/5] Running racon (1st round)..." | ||
| + | minimap2 -x map-ont -t $THREADS " | ||
| + | racon -t $THREADS " | ||
| + | | ||
| + | # 5. racon 2차 polishing | ||
| + | echo "[5/5] Running racon (2nd round)..." | ||
| + | minimap2 -x map-ont -t $THREADS " | ||
| + | racon -t $THREADS " | ||
| + | | ||
| + | echo "✅ Finished! Final polished assembly: $BASENAME.racon2.fasta" | ||
| + | |||
| + | 이 스크립트를 이용하여 [[https:// | ||
bioinfo/long_read_assembly_2024.1718580581.txt.gz · Last modified: by hyjeong
