Skip to content

Commit 0abaab0

Browse files
committed
Merge discvr-25.3 to develop
2 parents 525c912 + 6790e2d commit 0abaab0

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

jbrowse/resources/views/begin.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
The JBrowse module is part of DISCVR-Seq. It provides a wrapper around the JBrowse Genome Browser, which lets users rapidly take data generated or uploaded into DISCRV-Seq and view it using JBrowse.
2-
The module ships with a version of JBrowse, meaning very little extra configuration is required in order to start using these tools. The primary reasons we created this wrapper around JBrowse are:
2+
The module ships with a version of JBrowse 2, meaning very little extra configuration is required in order to start using these tools. The primary reasons we created this wrapper around JBrowse are:
33
<p></p>
44
<ul>
55
<li>We selected JBrowse as the browser because it is a modern web-based genome viewer, with a large support base</li>
66
<li>This wrapper makes is very simple for non-technical users to take data uploaded into DISCVR-Seq and use the power of JBrowse to see your data. While we find JBrowse easy to use, preparing samples for the browser often requires command-line tools or was otherwise beyond the level of a typical scientist</li>
77
<li>For our usage, we find it important to be able to quickly view different combinations of files. For example, after running an alignment or calling SNPs on a set of samples, you might want to view these specific samples in conjunction with a specific set of genome annotations (coding regions, regulatory regions, site of known variation, etc). </li>
8-
<li>The files createde by genome-scale projects can become large. If we allow users to create many different JBrowse databases, we need to be careful about the amount of files this creates. The JBrowse module does a fair amount of work behind the scenes to avoid duplicating files. For example, if the same genome is used as the base for 100s of JBrowse sessions, there will only be one copy of the processed sequences files saved. The same is true for all tracks that are loaded.</li>
8+
<li>The files created by genome-scale projects can become large. If we allow users to create many different JBrowse databases, we need to be careful about the amount of files this creates. The JBrowse module does a fair amount of work behind the scenes to avoid duplicating files. For example, if the same genome is used as the base for 100s of JBrowse sessions, there will only be one copy of the processed sequences files saved. The same is true for all tracks that are loaded.</li>
99
</ul>

jbrowse/src/org/labkey/jbrowse/JBrowseManager.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,19 @@ public static class TestCase extends Assert
236236
public void testJBrowseCli() throws Exception
237237
{
238238
File exe = JBrowseManager.get().getJbrowseCli();
239-
String output = new SimpleScriptWrapper(_log).executeWithOutput(Arrays.asList(exe.getPath(), "help"));
239+
SimpleScriptWrapper wrapper = new SimpleScriptWrapper(_log);
240+
wrapper.setThrowNonZeroExits(false);
241+
242+
String output = wrapper.executeWithOutput(Arrays.asList(exe.getPath(), "help"));
243+
if (wrapper.getLastReturnCode() != 0)
244+
{
245+
_log.error("Non-zero exit from testJBrowseCli: " + wrapper.getLastReturnCode());
246+
wrapper.getCommandsExecuted().forEach(_log::error);
247+
_log.error("output: ");
248+
_log.error(output);
249+
250+
throw new RuntimeException("Non-zero exit running testJBrowseCli: " + wrapper.getLastReturnCode());
251+
}
240252

241253
assertTrue("Malformed output", output.contains("Add an assembly to a JBrowse 2 configuration"));
242254
}

0 commit comments

Comments
 (0)