Tool: igblastr: A User-friendly R Wrapper to IgBLAST
Dear Biostars community,
I'm excited to announce the availability of igblastr, a new R/Bioconductor package that provides a user-firendly interface to IgBLAST.
The package makes it _super easy_ to install IgBLAST and to manage IgBLAST-compatible germline dbs from R/Bioconductor.
See https://github.com/HyrienLab/igblastr for a quick start, or the "igblastr overview" vignette available here for a more detailed introduction.
Hope you find it useful!
Cheers,
H.
• 349 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Fantastic. You weren't kidding about "super easy." I went from having a plain RStudio install on a random mac to having the pretty
igbrowser()'d view of some of our rhesus macaque abs in a couple minutes. I expect our R-savvy grad students are going to love this.One odd thing I'm seeing is that my example rhesus antibodies are getting two extra AAs on the 5' end of CDRH3 versus what I expect with IMGT CDR definitions. One minimal reproducible example: take the sequence from GenBank entry PQ550586 and run:
..and it gives YCARVPYYWYSGSYYHWYGLDS instead of ARVPYYWYSGSYYHWYGLDS like plain IgBLAST gives. If this is anything more complicated than me just misunderstanding something about igblastr, though, I'll follow up in a github issue instead.
I can think of a couple of things that could explain the two extra AAs that you get on the 5' end of the CDRH3 of PQ550586.1:
It would help to know a little bit more about your plain IgBLAST setup. In particular, what germline db was used.
Also what germline db are you using with igblastr? If you're using
_OGRDB.rhesus_monkey.IGH+IGK+IGL.202602(preinstalled in igblastr), then the internal data used by default is the data provided by OGRDB, which, unlike the internal data included in IgBLAST, is guaranteed to be current. Do you mind sharing the output oflist_germline_dbs()(after doinguse_germline_db())?Note that you can instruct
igblastn()to use the IgBLAST-provided internal data by passingcustom_internal_data=NULLto it (see documentation of thecustom_internal_dataargument in?igblastnfor more information). Does this give you the CDRH3 that you expected (i.e. the CDRH3 without the two extra AAs)?Hmm... so I tried with both,
_OGRDB.rhesus_monkey.IGH+IGK+IGL.202602andIMGT-202631-1.Macaca_mulatta.IGH+IGK+IGL, and I can't reproduce that:So it'd be really useful if you could show all the commands that got you here starting from a fresh R session.
H.
sessionInfo():
Oops, sorry, you're right, that wasn't a reproducible example! I skipped right over my germline database setup. I used IMGT for both approaches (so, in the IgBLAST web interface I selected "Rhesus monkey" and the "IMGT" in each drop-down menu for V, D, and J, and for igblastr, I installed and selected the IMGT rhesus germline.) I started re-testing with my script matched byte-for-byte with yours (even renamed the query path because why not) and it gave me the same output I saw before for IMGT, and NA (?) for OGRDB. But looking at my session info I realize my R version is 4.5; trying a clean install with the latest stable R, 4.6.1... I do get the expected AA sequence with OGRB now, but still not with IMGT.
So, specifically, I now get:
In a session with this sessionInfo():
That was on the aforementioned random mac; trying on an install of Fedora Linux 44 on a laptop... it works! On Linux I get the expected AA sequence with both germline databases while with the Mac I get those extra two AAs with the IMGT database.
I'm itching to dig into that further and pin down the problem but I'm slammed with a variety of things right now and I can't do more at the moment, unfortunately. I could file this as an issue on github if that's helpful. On the plus side I don't particularly need this addressed promptly even if I'm using igblastr; my own use would typically be on Linux anyway.
Thanks!
Thanks for providing the extra details.
I went on an old Intel Mac to try this but still wasn't able to reproduce:
Can you please open an issue on GitHub about this when you get a chance? In addition to your
sessionInfo(), please provide the output oflist_germline_dbs()andigblast_info().Here's mine:
Thanks again for your feedback. Would be really nice if we could get to the bottom of this.
H.
sessionInfo()
Finally got to this; sorry for the delay: https://github.com/HyrienLab/igblastr/issues/11. I realized when looking more closely it's all FWR/CDR regions, I'd just only noticed CDR3 at first. I attached some more detail and the full AIRR output fields in case it helps. Thanks!