User GuidesSnapGene User Guide CollectionsCreate Links Between Collection Areas

Create Links Between Collection Areas

How do I link related files of different types in a Collection?

SnapGene stores files of different types in separate "areas" of a Collection. Parallel folders in the different areas allow you to link related files, and to switch readily between the areas.

Create a Folder in a Collection

Menubar

Navigate to an area of the Collection—set the area to "All Files". To create a folder, click the "Show folder view" button, and then click Add → Add Folder to create a folder as described in Organize Sequences in a Collection. Import files into the folder.

Alternatively, import an existing folder into the Collection as described in Add Files to a Collection.

Give the new folder a name and click OK.

Specify the types of files you expect to store in the folder. Click Add Folder.

Switch to a specific view, in the above screenshot "DNA Files" view, you will see the new folder, with links to parallel folders in other areas.

If you create a folder in a specific view (DNA, RNA, Protein, or Miscellaneous views) then you will are not given the option to create parallel folders. If you subsequently require parallel folders, see below, Add Linked Folders Manually.

Add Linked Folders Manually

To manually create links to parallel folders in a specific file type area (DNA, RNA, Protein or Miscellaneous), first select the folder, and then click Add → Add Linked Folders....

Choose the areas that will receive linked folders then click OK.

You will now see "Go to" links for navigating to the linked folders in the other areas.

Import Files of Any Type into a Folder

When files are imported into a folder in a Collection area that does not match the file type, the imported files are automatically placed in parallel folders in the appropriate areas. If those parallel folders do not already exist, they are created as required.

As an example, in the "DNA Files" area, click Import / Export → Import Files into Folder... .

Select the destination folder and click Import Files.

In the file browser, select one or more non-DNA files to import, and then click Open. The screenshot shows selection of a protein file and an image file.

The imported protein file has been placed in a linked folder in the "Protein Files" area.

The imported image file has been placed in a linked folder in the "Miscellaneous Files" area.

Menubar

To see related files in another area, click one of the "Go to" controls that are visible in Folder view.

Menubar

The display will switch to the chosen area of the Collection, with the parallel folder open and visible.

Save a Translated or Reverse Translated Sequence to a Linked Folder

As an example, select a translated (CDS) feature in a DNA sequence file, and create a protein file by clicking Actions → Make Protein... . Ensure that the box labeled "Save the protein file to this Collection" is checked, and then click OK.

The new protein file will be added to a parallel folder in the "Protein Files" area. If the parallel folder does not already exist, it will be created automatically.