Large yellow croaker is an economically important fish in China. On this page, We provide the list of datasets and scripts used for the analysis of the large yellow croaker's whole-resequencing.
- Genome sequence of large yellow croaker
http://ftp.ensembl.org/pub/release-100/fasta/larimichthys_crocea/dna/ - Raw sequence reads of whole-genome resequencing of large yellow croaker
DDBJ DRA database under accession number PRJDB10647
For checking the quality of FASTQ files, use the following script where we use FastQC.
For trimming the FASTQ raw reads, use the following script.
For read mapping, sorting and indexing, use the following script.
For variant calling from BAM files, use the following script.
For creating a PED/MAP file from VCF file, use the following commands. PED/MAP file is required for PLINK.
plink --double-id --allow-extra-chr --vcf All.vcf.gz --recode --out All
plink --allow-extra-chr --file All --make-bed --out All --double-id
For performing principal component analysis (PCA), use the following command.
plink --allow-extra-chr --bfile ${ped_path}/All --out All --pca 50
For performing ADMIXTURE analysis, use the following command. In this analysis, K is set to a value between 1 and 15.
for i in `seq 1 15`; do
admixture --cv=100 -j${thread} ${ped_map_path}/YOUR_BED_FILE.bed ${i} | tee log${i}.out
done
For estimation of effective population sizes, use the following command.
SNeP1.1 -maxsnp 100 -t 100 -ped YOUR_PED_FILE.ped
For calculation of Identical-by-State (IBS) score matrix, use the following command. From the IBS score matrix, NJ tree can be constructed using MEGA software.
plink --autosome-num 24 --allow-extra-chr --bfile ${ped_path}/198samples_BiallelicSNP_max-missing-0.90_MAF-0.05 --out All --cluster --matrix
for caliculation of Fst, use the following command.
vcftools --gzvcf YOUR_VCF.vcf.gz --weir-fst-pop ${group1}.txt --weir-fst-pop ${group2}.txt --out Fst_SNP_${group1}_vs_${group2}
For drawing geographic maps by using open source library, use the following R scripts.
#Load libraries
library(maps)
library(mapdata)
#Draw a map
png("MyMap.png", width=1000, height=1000)
map(col="grey80", border = "grey40", fill = TRUE, xlim = c(100, 150), ylim = c(20, 40), mar = rep(0.1, 4))
dev.off()