Skip to content

fix: add condition for prepending chr to variant chromosome#195

Merged
ovesh merged 2 commits intomainfrom
fix/ensembl-non-std-contig-variants
Jan 30, 2026
Merged

fix: add condition for prepending chr to variant chromosome#195
ovesh merged 2 commits intomainfrom
fix/ensembl-non-std-contig-variants

Conversation

@ovesh
Copy link
Contributor

@ovesh ovesh commented Jan 29, 2026

add MiniGenome with non-standard contigs for testing

fixes #194

also: add Macfas_6.0.115 annotation
with removed chrMT due to it missing from MacFas6 assembly

add MiniGenome with non-standard contigs for testing

fixes #194

also: add Macfas_6.0.115 annotation
with removed chrMT due to it missing from MacFas6 assembly

wget -O Macfas_6.0.115.gff3.gz ftp://ftp.ensembl.org/pub/release-115/gff3/macaca_fascicularis/Macaca_fascicularis.Macaca_fascicularis_6.0.115.gff3.gz

# MT appears in the gff3 but not in the macFas6 assembly files.
Copy link
Collaborator

Choose a reason for hiding this comment

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

do you know if it's a merge? they did that with GRCh37

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No idea.

Copy link
Collaborator

Choose a reason for hiding this comment

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

logic_name=mt_genbank_import

looks like it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What's the implication?

Copy link
Collaborator

Choose a reason for hiding this comment

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

nothing really, just that some gffs need a merged assembly (or for gk to be able to map one gff to multiple assemblies).

the only two situations I've seen this is:

MT - mitocondrial was sequenced separately
T2T - Y was a different sample, but that was pre-merged

DG may be ok without MT but not sure about the broader community

@ovesh ovesh merged commit 8abe006 into main Jan 30, 2026
11 checks passed
@ovesh ovesh deleted the fix/ensembl-non-std-contig-variants branch January 30, 2026 20:48
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.

Failure to create a Variant from Ensembl annos on non-standard contigs

3 participants