Loading custom genomes in a session file

51 views
Skip to first unread message

Mark Rose

unread,
Oct 3, 2022, 11:28:31 AM10/3/22
to igv-help
Hello

I want to load a custom genome from a url (long with other files that reference that genome) in a session file.  I was unable to do that in IGV version  1 but I am wondering if this is possible with the latest version.  Here is what I unsuccessfully attempted:

<?xml version="1.0" encoding="UTF-8"?>
<Global> genome="https://<internet domain name>/project/NEDEL/igv_test/NGS22014_D7_UR276287862-refs.fa" locus="26130" version="3"
<Resources>
<Resource name="NGS22014_D7_UR276287862 align" path="http://<internet domain name>/project/NEDEL/igv_test/NGS22014_D7_UR276287862.all.fq-vs-construct_refs.fa.sort.bam"/>
<Resource name="NGS22014_D7_UR276287862 features" path="http://<internet domain name>/project/NEDEL/igv_test/NGS22014_D7_UR276287862-refs.gb"/>
</Resources>
</Global>


This does not load the specified genome but produces an error saying the bam file "does not contain any sequence names which match the current genome",  the current genome being the last one I selected in the GUI interface.  Is what I am trying to do still not possible, requiring instead that I first manually upload the custom genomes in the GUI, or is my code incorrect.

Thanks
Mark

igv-help

unread,
Oct 4, 2022, 1:02:13 AM10/4/22
to igv-help
This looks correct.   I'll look into it tomorrow.

robin...@gmail.com

unread,
Oct 5, 2022, 1:01:39 PM10/5/22
to igv-help
Well I can confirm the problem, it is a bug.   I will look into fixing this for the next release.  

Mark Rose

unread,
Oct 5, 2022, 2:56:06 PM10/5/22
to igv-...@googlegroups.com

Thanks for looking. When will the next release be?

--

---
You received this message because you are subscribed to a topic in the Google Groups "igv-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/igv-help/oBDQOKOhfCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to igv-help+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/igv-help/cb7023c1-f803-4cfa-bced-b5d13a965826n%40googlegroups.com.

robin...@gmail.com

unread,
Oct 5, 2022, 3:03:07 PM10/5/22
to igv-help
Apologies I was mistaken, this is not an IGV bug, the problem is with your XML.  The good new is the fix is easy.   Change you second line to

<Global  genome="https://<internet domain name>/project/NEDEL/igv_test/NGS22014_D7_UR276287862-refs.fa" locus="26130" version="3">

Mark Rose

unread,
Oct 10, 2022, 1:41:03 PM10/10/22
to igv-...@googlegroups.com
Got it.  Thanks for your help!

Mark

--

---
You received this message because you are subscribed to a topic in the Google Groups "igv-help" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/igv-help/oBDQOKOhfCM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to igv-help+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages