PlainMap: a lightweight, restartable mapping pipeline for ancient and modern DNA
Michael V. Westbury
Abstract
Mapping sequencing reads to a reference genome requires preprocessing and alignment choices that can vary with library type, fragment length, sequencing platform, and reference genome. These considerations are particularly important for ancient and historical DNA, where short and damaged fragments can make the most appropriate mapping strategy difficult to determine a priori. We present PlainMap, a lightweight and restartable mapping pipeline for modern and degraded DNA sequencing data. PlainMap accepts a simple manifest of FASTQ files, automatically identifies single-end and paired-end data from read headers, supports mixed sequencing platforms, and provides alternative mapping strategies for modern and degraded DNA. Deterministic chunking and checkpoint-based execution allow large analyses to resume after interruption, while optional pilot subsampling enables empirical comparison of mapping strategies using identical subsets of raw fragments. PlainMap produces duplicate-filtered BAM files together with fragment-aware mapping and coverage statistics. Evaluation using heterogeneous sequencing data confirmed the expected behaviour of the three mapping modes, while adaptive chunking reduced peak memory use by approximately 25% and allowed an interrupted analysis to resume from completed mapping chunks. PlainMap is implemented as a single Bash script and is freely available at https://github.com/BiodiversityExtinction/PlainMap.
Create a lesson
Related papers
Democratizing Clinical Tumor Whole Genome Sequencing: 18-hour End-to-end Analysis via Trillion-parameter Large Language Models Locally Deployed on Consumer-grade Hardware
Rui Xiao, Yili Xu
Structure is not mechanism: high-gain gated-FFN rows across text and genomic foundation models
Alexandros Tzanakakis, Aris Karatzikos, Ilias Georgakopoulos-Soares
RAGCell: Retrieval-Augmented Generation as Supervision for Versatile Single-cell Analysis
Tianyu Liu, Fan Zhang, Jiayuan Chen et al.
A Transformer-Based Delta Expression Encoder for Psilocybin Transcriptional Response: Architecture, Representations, and Biological Validation
Sai Jayakumar
Human mutation field reveals an equilibrium-like structure with irreversible circulation
Isabella Caranzano, Daniel Maria Busiello, Stefano Priorelli et al.
Enhancer-promoter proximity predicts transcriptional competence but not transcriptional output in the Drosophila brain
Olivier Messina, Loucif Remini, Christopher H. Bohrer et al.