How can I import sequences from a .CSV file as a SnapGene Project?
Create a CSV file
To import a file from a database as a Project, you must first obtain or create a .CSV (comma-separated values) file with appropriate formatting.
The CSV can contain a single data type, of either DNA, RNA or Protein.
The file formatting should have the data field names in the top row, the first data field will be used as the sequence label in Map view, and will also be used as the file name (after removing any forbidden characters).
This file can be created, for example, by exporting from Excel to CSV format. In Excel, click File → Save As... , click the Format: menu button, select Comma Separated Values (.csv), then click Save.
Create a New Folder
In the macOS Finder, Windows Explorer or Linux File Manager, create a folder in an appropriate location.
Open the New Folder as a Project
Click the Ellipsis and choose "Open Project folder" or if no Project is currently open, click the Open Folder button.
The folder will open as an empty project.
Import the CSV File
Click the Ellipsis in the left sidepanel and choose "Import Files" to load the CSV file.
Set the Database Type, then use the dropdown menus to map each database field (CSV column) with an appropriate SnapGene data field.
Click Import to import the CSV data and create new SnapGene files.
For DNA files, if appropriate, check the option to "Automatically annotate common features". SnapGene will compare each sequence to your Common features database and offer to annotate any detected features.
All sequences will import into the new Project folder. See Use the SnapGene 7.0 Interface for more information about working with files in the tabbed Project interface.
If no sequence information is present in the CSV file, then an "Empty" SnapGene file will be created. You can choose to add sequence to the file at a later date.