DOI: 10.5281/zenodo.15735890
title: Genomes and annotations of 4 Diamesa species

description: Here we provide the genome assemblies and genome annotations of four Diamesa species (D. hyperborea, D. lindrothi, D. serratosioi, D. tonsa). 

We assembled the species using a pre-release of the EBP-Nor genome assembly pipeline (https://github.com/ebp-nor/GenomeAssembly). KMC (Kokot et al. 2017) was used to count k-mers of size 32 in the PacBio HiFi reads, excluding k-mers occurring more than 10,000 times. Genomescope (Ranallo-Benavidez et al. 2022) was run on the k-mer histogram output from KMC to estimate genome size, heterozygosity and repetitiveness while ploidy level was investigated using Smudgeplot (Ranallo-Benavidez et al. 2022). HifiAdapterFilt (Sim et al. 2022) was applied on the HiFi reads to remove possible remnant PacBio adapter sequences. The filtered HiFi reads were assembled using hifiasm (Cheng et al. 2021) with Hi-C integration resulting in a pair of haplotype-resolved assemblies, pseudo-haplotype one (hap1) and pseudo-haplotype two (hap2). Unique k-mers in each assembly/pseudo-haplotype were identified using meryl (Rhie et al. 2020) and used to create two sets of Hi-C reads, one without any k-mers occurring uniquely in hap1 and the other without k-mers occurring uniquely in hap2. K-mer filtered Hi-C reads were aligned to each scaffolded assembly using BWA-MEM (Li 2013) with -5SPM options. The alignments were sorted based on name using samtools (Li et al. 2009) before applying samtools fixmate to remove unmapped reads and secondary alignments and to add mate score, and samtools markdup to remove duplicates. The resulting BAM files were used to scaffold the two assemblies using YaHS (Zhou et al. 2023) with default options. FCS-GX (Astashyn et al. 2024) was used to search for contamination. Contaminated sequences were removed. The mitochondrion was searched for in reads using Oatk (Zhou et al. 2024).

We annotated the genome assemblies using a pre-release version of the EBP-Nor genome annotation pipeline (https://github.com/ebp-nor/GenomeAnnotation). First, AGAT (https://zenodo.org/record/7255559) scripts agat_sp_keep_longest_isoform.pl and agat_sp_extract_sequences.pl were used on the fruit fly (Drosophila melanogaster) genome assembly (BDGP6.46 (GCA_000001215.4) from Ensembl) and annotation to generate one protein (the longest isoform) per gene. Miniprot (Li 2023) was used to align the proteins to the curated assemblies. UniProtKB/Swiss-Prot (Coudert et al. 2023) release 2022_03 in addition to the arthropoda part of OrthoDB v11 (Kuznetsov et al. 2023) were also aligned separately to the assemblies. Red (Girgis 2015) was run via redmask (https://github.com/nextgenusfs/redmask) on the assemblies to mask repetitive areas. In addition, we ran Earl Grey (Baril et al. 2024) to annotate transposable elements. GALBA (Brunå et al. 2023, Li 2023, Buchfink et al. 2015, Hoff & Stanke 2019, Stanke et al. 2006) was run with the fruit fly proteins using the miniprot mode on the masked assemblies. The funannotate-runEVM.py script from Funannotate was used to run EvidenceModeler (Haas et al. 2008) on the alignments of the fruit fly proteins, UniProtKB/Swiss-Prot proteins, arthropoda proteins and the predicted genes from GALBA. The resulting predicted proteins were compared to the protein repeats that Funannotate distributes using DIAMOND blastp  and the predicted genes were filtered based on this comparison using AGAT. The filtered proteins were compared to the UniProtKB/Swiss-Prot release 2022_03 using DIAMOND (Buchfink et al. 2015) blastp to find gene names and InterProScan  was used to discover functional domains. AGATs agat_sp_manage_functional_annotation.pl was used to attach the gene names and functional annotations to the predicted genes.