Skip to content

add arabidopsis and t2t_chm13_v2+meth_controls+m13+phix#55

Merged
lnblum merged 1 commit into
masterfrom
add_references
Apr 20, 2026
Merged

add arabidopsis and t2t_chm13_v2+meth_controls+m13+phix#55
lnblum merged 1 commit into
masterfrom
add_references

Conversation

@lnblum
Copy link
Copy Markdown
Contributor

@lnblum lnblum commented Apr 20, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 20, 2026 13:37
@lnblum lnblum merged commit 822229e into master Apr 20, 2026
5 checks passed
@lnblum lnblum deleted the add_references branch April 20, 2026 13:40
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new reference-genome entries to the pipeline’s conf/references.config so users can select additional genomes via --genome.

Changes:

  • Added arabidopsis_thaliana_TAIR12_bs_controls reference paths (FA/FAI + bwa-meth reference).
  • Added t2t_chm13_v2+meth_controls+m13+phix reference paths (FA/FAI + bwa-meth reference).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread conf/references.config
Comment on lines +20 to +27
bwa_index: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth/arabidopsis_thaliana_TAIR12_bs_controls.fa",
genome_fa: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth/arabidopsis_thaliana_TAIR12_bs_controls.fa",
genome_fai: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth/arabidopsis_thaliana_TAIR12_bs_controls.fa.fai",
],
't2t_chm13_v2+meth_controls+m13+phix': [
bwa_index: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fa: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fai: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa.fai",
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These new reference paths use a /bwameth/ directory, while the existing entries (and README.md guidance) use /bwameth_index/ to indicate the location where bwa-meth/BWA index files exist. If the index files are actually under a bwameth_index directory (as with the other genomes), this will cause alignment to fail when --genome arabidopsis_thaliana_TAIR12_bs_controls is selected. Please align the directory structure/path with the established bwameth_index/.../<genome>.fa convention (or update to the correct index location if /bwameth/ is intentional and contains the required index files).

Suggested change
bwa_index: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth/arabidopsis_thaliana_TAIR12_bs_controls.fa",
genome_fa: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth/arabidopsis_thaliana_TAIR12_bs_controls.fa",
genome_fai: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth/arabidopsis_thaliana_TAIR12_bs_controls.fa.fai",
],
't2t_chm13_v2+meth_controls+m13+phix': [
bwa_index: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fa: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fai: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa.fai",
bwa_index: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth_index/arabidopsis_thaliana_TAIR12_bs_controls/arabidopsis_thaliana_TAIR12_bs_controls.fa",
genome_fa: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth_index/arabidopsis_thaliana_TAIR12_bs_controls/arabidopsis_thaliana_TAIR12_bs_controls.fa",
genome_fai: "/bioinfo/ref/arabidopsis_thaliana_TAIR12_bs_controls/bwameth_index/arabidopsis_thaliana_TAIR12_bs_controls/arabidopsis_thaliana_TAIR12_bs_controls.fa.fai",
],
't2t_chm13_v2+meth_controls+m13+phix': [
bwa_index: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth_index/t2t_chm13_v2+meth_controls+m13+phix/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fa: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth_index/t2t_chm13_v2+meth_controls+m13+phix/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fai: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth_index/t2t_chm13_v2+meth_controls+m13+phix/t2t_chm13_v2+meth_controls+m13+phix.fa.fai",

Copilot uses AI. Check for mistakes.
Comment thread conf/references.config
Comment on lines +25 to +27
bwa_index: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fa: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fai: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa.fai",
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue as above: this entry points to /bwameth/.../*.fa instead of following the existing /bwameth_index/<genome>/<genome>.fa pattern used elsewhere in this config and described in README.md. If the bwameth/BWA indices are not colocated with this fasta, bwameth.py --reference will error at runtime. Please ensure this path points at the fasta in the directory that contains the prebuilt indices (or rename/move to match the bwameth_index layout).

Suggested change
bwa_index: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fa: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fai: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth/t2t_chm13_v2+meth_controls+m13+phix.fa.fai",
bwa_index: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth_index/t2t_chm13_v2+meth_controls+m13+phix/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fa: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth_index/t2t_chm13_v2+meth_controls+m13+phix/t2t_chm13_v2+meth_controls+m13+phix.fa",
genome_fai: "/bioinfo/ref/t2t_chm13_v2+meth_controls+m13+phix/bwameth_index/t2t_chm13_v2+meth_controls+m13+phix/t2t_chm13_v2+meth_controls+m13+phix.fa.fai",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants