Troubleshooting¶
Most CREDTOOLS problems fall into a small number of buckets: paths, columns, LD matching, external tools, or memory.
Start Here¶
Check the run logs first:
Then rerun the failing command with a log file:
File Not Found¶
Check the prefix in your loci list.
If the row says:
CREDTOOLS expects:
Do not include extensions in prefix.
Missing Columns¶
For raw summary statistics, run munge first:
For loci lists, required columns are:
Make sure the file is tab-separated, not comma-separated.
LD Matrix and Summary Statistics Do Not Match¶
Symptoms:
- very few variants remain after intersection,
- QC flags many variants,
- fine-mapping fails on a locus,
- LD map row count does not match the matrix shape.
Check:
- same genome build,
- same chromosome and position system,
- alleles are normalized,
- LD map row order matches the LD matrix,
- summary statistics were munged.
External Tool Not Found¶
Check the tool directly:
For R packages:
If you are on a cluster, load modules before running CREDTOOLS.
Memory Problems¶
Large loci create large LD matrices. If a run is killed:
- reduce the locus size with
credtools chunk --distance, - run fewer workers,
- split a large job by chromosome or locus,
- avoid plotting huge loci until the analysis works.
Example:
No Credible Sets¶
This can be a valid result. Check:
- the smallest p-value in the locus,
- whether QC flagged problems,
- whether
--significant-thresholdis too strict, - whether
--max-causalis too low for a complex locus.
Try a focused rerun:
Results Look Different Across Methods¶
That is normal. Fine-mapping tools make different modeling choices.
Compare:
- lead variant,
- credible set size,
- high-PIP variants,
- QC flags,
- heterogeneity.
If the locus is important, report the sensitivity instead of hiding it.