biomartr icon indicating copy to clipboard operation
biomartr copied to clipboard

Download of genomes fails when release number and/or assembly type are provided

Open vizkidd opened this issue 2 years ago • 3 comments

For Ensembl : release version 107, Assembly types : toplevel, primary_assembly Steps to reproduce : Just give a db="ensembl", release=107 and assembly_type="primary_assembly" when invoking getGenome()

Error Produced: Found organism but given release number did not specify existing file

It works fine when these options are not included and the download works properly

vizkidd avatar Aug 25 '22 16:08 vizkidd

Forgot to mention,

R version : Both 4.1.1 and 4.2.1

vizkidd avatar Aug 25 '22 17:08 vizkidd

biomartr_issue

Update: There are several organisms which fail and several which work, sus_scrofa doesn't seem to work even though the genome is listed and available through the function is.genome.available()

vizkidd avatar Aug 29 '22 09:08 vizkidd

Dear Vishvesh,

Many thanks for notifying me.

I can have a look and see if a patch can be provided.

Cheers, Hajk

HajkD avatar Aug 30 '22 12:08 HajkD

Hello, simple answer is that there is no primary assembly for the whole pig genome.

Usually when I use biomartr for this, I make a tryCatch and start with primary, if it fails then I try top-level.

This question can be closed

Roleren avatar Jan 17 '23 00:01 Roleren

Excellent!!! Thank you so much for your insight!

HajkD avatar Jan 17 '23 20:01 HajkD