Common Errors¶
Solutions for frequently encountered errors in the aa-tRNA-seq pipeline.
POD5 File Errors¶
No POD5 Files Found¶
Error:
| Text Only | |
|---|---|
1 | |
Causes:
- Incorrect path in samples file
- POD5 files not in expected subdirectories
- Wrong file extension
Solutions:
-
Verify the path exists:
Bash 1ls -la /path/from/samples/file/ -
Check for POD5 files in expected locations:
Bash 1 2 3
ls /path/to/run/pod5_pass/ ls /path/to/run/pod5_fail/ ls /path/to/run/pod5/ -
Ensure files have
.pod5extension (not.fast5)
POD5 Merge Fails¶
Error:
| Text Only | |
|---|---|
1 | |
Solutions:
-
Check disk space:
Bash 1df -h . -
Verify POD5 files are valid:
Bash 1pod5 inspect summary input.pod5 -
Check for corrupted files and exclude them
GPU Errors¶
CUDA Out of Memory¶
Error:
| Text Only | |
|---|---|
1 | |
Solutions:
-
Ensure exclusive GPU access in cluster profile:
YAML 1 2
set-resources: - rebasecall:lsf_extra="-gpu num=1:j_exclusive=yes" -
Reduce concurrent GPU jobs:
YAML 1 2
resources: - ngpu=4 -
Check for other GPU processes:
Bash 1nvidia-smi
No CUDA GPUs Available¶
Error:
| Text Only | |
|---|---|
1 | |
Solutions:
-
Verify CUDA installation:
Bash 1nvidia-smi -
Check CUDA_VISIBLE_DEVICES:
Bash 1echo $CUDA_VISIBLE_DEVICES -
Verify job is running on GPU node (for cluster execution)
GPU Driver Mismatch¶
Error:
| Text Only | |
|---|---|
1 | |
Solutions:
-
Check driver version:
Bash 1nvidia-smi | head -3 -
Update GPU drivers (contact system admin)
-
Use a compatible Dorado version
Memory Errors¶
Out of Memory¶
Error:
| Text Only | |
|---|---|
1 2 3 | |
Solutions:
-
Increase memory for the rule in cluster profile:
YAML 1 2
set-resources: - failing_rule:mem_mb=64 -
For local execution, close other applications
-
Check system memory:
Bash 1free -h
Modkit Memory Issues¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
The modkit_extract_calls rule requires significant memory (default 96 GB):
| YAML | |
|---|---|
1 2 | |
Alignment Errors¶
BWA Index Missing¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
The index should be built automatically. If it fails, build manually:
| Bash | |
|---|---|
1 | |
No Reads Aligned¶
Error:
| Text Only | |
|---|---|
1 | |
Causes:
- Wrong reference sequence
- Incompatible read format
- Data quality issues
Solutions:
- Verify reference matches your samples
- Check FASTQ quality:
Bash 1zcat results/fq/sample.fq.gz | head -20
Charging Classifier Errors¶
Model Bundle Not Found¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
charging.model is a directory, not a file. Verify it in config:
| YAML | |
|---|---|
1 2 | |
The bundle is vendored in the repository, so it should already be present:
| Bash | |
|---|---|
1 | |
missing field \gbm``¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
The escpod on your PATH predates the per-base-feature bundle format. The
runtime and the model are pinned together — escpod_version must be >= 0.19.0 (the floor the charging bundle's basecaller block enforces).
| Bash | |
|---|---|
1 2 | |
Kmer Table Checksum Mismatch¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
The bundle's 9mer_levels_v1.txt is a symlink into resources/kmers/. If that
file was replaced, the residual feature is no longer the one the model was
trained against. Restore it, or give the bundle its own copy:
| Bash | |
|---|---|
1 | |
Most Reads Get No cl Tag¶
This is usually not an error. The model abstains on reads whose common arm
did not align, and those reads carry no cl tag rather than a default class.
Check the rate and the reason:
| Bash | |
|---|---|
1 2 | |
A high no_aligned_arm rate is a real signal, not a bug — but it also biases
the charging fraction low, so report it alongside. If instead nearly every read
is missing, check that the reference records carry ...CCA followed by the
common arm GGCTTCTTCTTGCTCTT, and that charging.min_mapq is 0.
Snakemake Errors¶
Locked Directory¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
| Bash | |
|---|---|
1 | |
Missing Input Files¶
Error:
| Text Only | |
|---|---|
1 | |
Solutions:
- Check if prerequisite rules completed
- Verify file paths in config
- Run a dry-run to check DAG:
Bash 1pixi run snakemake -n --configfile=config/config.yml
Rule Failed¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
-
Check the rule log:
Bash 1cat results/logs/<rule_name>/<sample> -
Re-run with verbose output:
Bash 1pixi run snakemake -p --configfile=config/config.yml
Configuration Errors¶
Sample File Parse Error¶
Error:
| Text Only | |
|---|---|
1 | |
Solutions:
- For TSV: Ensure tab-separated (not spaces)
- For YAML: Check indentation
- Validate with:
Bash 1 2 3 4 5
# TSV cat -A config/samples.tsv # Shows ^I for tabs # YAML python -c "import yaml; yaml.safe_load(open('config/samples.yml'))"
Config Key Missing¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
Ensure your config inherits from base:
| YAML | |
|---|---|
1 2 | |
WarpDemuX Errors¶
WarpDemuX Not Found¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
Install WarpDemuX via the setup command:
| Bash | |
|---|---|
1 | |
Invalid Barcode Kit¶
Error:
| Text Only | |
|---|---|
1 | |
Solution:
Use a valid kit name:
WDX4_tRNA_rna004_v1_0WDX4b_tRNA_rna004_v1_0
No Reads for Barcode¶
Error: Sample has 0 reads after demultiplexing.
Solutions:
- Verify barcode assignment in YAML file
- Check demux summary:
Bash 1zcat results/demux/read_ids/run_id/demux_summary.tsv.gz - Ensure barcode kit matches library prep
File System Errors¶
Disk Full¶
Error:
| Text Only | |
|---|---|
1 | |
Solutions:
-
Check disk usage:
Bash 1df -h . -
Clean intermediate files:
Bash 1rm -rf results/bam/rebasecall results/bam/aln results/fq -
Use a different output directory
Permission Denied¶
Error:
| Text Only | |
|---|---|
1 | |
Solutions:
-
Check file permissions:
Bash 1ls -la <file> -
Verify write access to output directory