Skip to content

File Selection and Setup

Marcus Fedarko edited this page Oct 17, 2018 · 4 revisions

You can use these controls to load a .db file created by MetagenomeScope's preprocessing script into the viewer interface.

Demo .db file: Load hosted files

This button can be used to load files stored on the server where the viewer interface is being hosted. This button will only work when the viewer interface is hosted on a server somehow: so, for example, if you download the viewer interface code and open it up locally in a browser, loading .db files using this button won't work (because demoed files are loaded using XMLHttpRequests, which are generally restricted from performing cross-origin requests due to security reasons).

See here for a description of how to create a version of the viewer interface's HTML file with a custom set of .db files to be demoed.

Upload .db file: Choose local files

This button opens a file selection dialog which you can use to upload a .db file to be visualized in the viewer interface.

Assembly info: Display file information

This button opens a dialog showing some basic information about the assembly graph file. Once you draw a connected component, this dialog will show some extra information about the number of nodes and edges in the currently drawn component.

Settings: View and update settings

This button opens a dialog containing various settings in the viewer interface. See the viewer interface settings page for details about these settings.

Help: Open up this wiki

This button opens up the home page of the MetagenomeScope wiki in a new tab or window [1]. If clicking this button took you here and now you're reading this, hi! Hopefully this wiki helps you use MetagenomeScope -- if not, please feel free to contact us for help.

[1] Regarding whether a tab or a window will be opened from pressing this button -- see this MDN article's discussion of "_blank" for details if you're interested.