2. Main Steps
coverage
Program required: Samtools
samtools coverage aligned_merged_mdup_L19.bam
The code above will only print out the values for you, but do not keep them in a file.
If you want, you can just save the standard out in .out file using Slurm job submission.
#!/bin/bash
#SBATCH -e errs/L%a_coverage-%A.err
#SBATCH -o outs/L%a_coverage-%A.out
#SBATCH --mem-per-cpu=20G
#SBATCH -p scavenger
#SBATCH --cpus-per-task=4
#SBATCH --mail-type=ALL --mail-user=sbm34@duke.edu
#SBATCH -a 19,30,34,45,59,73
LL=${SLURM_ARRAY_TASK_ID}
module load samtools/1.12-rhel8
samtools coverage ../data/2021_09_21_fastq/aligned_merged_mdup_BAMs/aligned_merged_mdup_L${LL}.bam
L19_chr2.haplotagged.bam
#!/bin/bash
#SBATCH -e errs/L%a_coverage-%A.err
#SBATCH -o outs/L%a_coverage-%A.out
#SBATCH --mem-per-cpu=20G
#SBATCH -p scavenger
#SBATCH --cpus-per-task=4
#SBATCH --mail-type=ALL --mail-user=sbm34@duke.edu
#SBATCH -a 19,256,59,96
LL=${SLURM_ARRAY_TASK_ID}
module load samtools/1.12-rhel8
samtools coverage L${LL}_chr2.haplotagged.bam
module load VCFtools/0.1.17
Feb 10, 2025CCS reads are demultiplexed and can be filtered using the number of passes using the SMRT portal software. More passes gives a better sequences afterwards.
Feb 10, 2025bcftools query -f '%CHROM\t%POS\t[%PS]\t[%HP]\n' L274_dv_phased_chr2.vcf | sort -u
Feb 10, 2025Use WhatsHap to try to create an accurately phased/haplotyped sample from a line that has both pacbio and illumina data:
Feb 3, 2025or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up