Projects, storage and recovery
Guide contents · First project
A Workspace is a folder for related projects. In Projects / Files, choose New Workspace…, select a parent folder, and enter a name. Use New project… to create independent projects inside it. Select a project from the left sidebar, then use Project files to select a registered sequence file. Loaded Records shows filenames and record positions within a file. The selected record panel shows the scientific name and ID.
If a child Project manifest cannot be read, the project picker shows its folder name and the read error in a disabled row. Other Projects remain available.
Each managed project has its own project.json, inputs, results, and history. Collection searches saved documents and features across the active Workspace. A successful file import saves the managed Project, including current edits. Use Save Project for later changes. Browse other collections opens the app-wide collection picker.
Headless callers use workspace-create --parent PATH --name NAME and workspace-inspect --collection PATH. Pass the returned collection path to collection-refresh or collection-query. Use project-create --parent WORKSPACE --name NAME for a member project and project-files --project PATH --refresh to inspect its registered sequence files and source states. workspace-inspect and its MCP tool report unreadable child manifests in unavailable_projects, with folder_name, manifest_path, and reason. Readable Projects appear in projects. Workspace inspection is read-only.
What is saved
| Action or location | Contents and effect |
|---|---|
Save Project / project.json | Editable records, project intent, descriptors, provenance and saved history references |
| Save Sequence | Records from the selected file group at its active destination |
| Export GenBank copy… | An independent annotated copy of the selected record, leaving the current sequence destination unchanged |
| Save Sequence As… | A sequence file at a new destination, using supported FASTA/GenBank interchange |
Managed inputs/ | Inputs explicitly copied into project ownership |
Managed results/, reports/, cache/ | Local artifacts and reconstructible working data; travel with the project |
| External links | Original files remain at their recorded locations; not embedded or automatically copied |
| Global feature library | Separate app/user library and its own history, not a copy inside every project |
Small editable records are embedded in the manifest. Large reference genomes, FASTQ, alignments, indexes and result payloads stay separate and are streamed or indexed where the operation supports it. Saving a project does not embed all its referenced data. Existing supported legacy manifests migrate when loaded; current manifests use explicit schema versions.
Import sequence… loads supported sequence documents into the editor. Add files… registers reads, traces, references or annotations for workflow use. Both actions save the managed Project automatically. A batch saves each successfully added file, even if a later file fails. If another window has changed the saved Project, the import stays in the current window and Xihl reports the conflict. Choose Copy into inputs (recommended) or Keep external link deliberately. Copy refuses collisions rather than overwriting a same-named owned file; linking does not move the original. A registered workflow input is not necessarily an editable loaded record.
Standalone sequence editing is also supported. Its imported files stay in place; saving a standalone project writes workspace JSON without turning all external files into managed copies. A reopened project does not automatically restore a sequence-file save destination. Use Save Sequence As… to choose a new sequence-file destination after reopening.
Safe saves and history
Wait for the successful status message before treating a save as complete. Project and sequence status are distinct. Atomic publication and recorded identities protect supported save paths; they are not a substitute for backups. A refused save is not permission to discard the original file.
If a sequence source changed externally, the guarded overwrite can refuse it. Preserve the external file and save the edited document to a new destination with Save Sequence As…. For a project conflict, reload/compare the current saved state before retrying. Do not change revision values or manifest fields by hand.
Session Undo/Redo, persisted lineage and saved checkpoints have different purposes. A reopened project retains recorded lineage but starts a new session Undo stack. Inspect history and source revisions before restoring an earlier state; restoration does not make reports computed from a later/different record current. A result marked STALE remains historical evidence; rerun it against the intended input to obtain a current result.
Backup and relocation
- Save both workspace and interchange files you intend to keep. Let active jobs reach a terminal state before taking a consistent backup or moving the folder.
- Copy the entire managed directory, including hidden history files and all owned input/result/report/cache subdirectories. Copying only
project.jsonloses required companion data and history. To move a Workspace, include its hidden.dna-workspace.jsonmarker and all member project folders. - Back up linked external data, the global feature library and its adjacent history separately. Keep their identity and path relationships; they do not travel merely because the manifest was copied.
- Open the copied manifest and inspect records and available artifacts before continuing. Keep the original backup unchanged until this check succeeds.
Owned workspace-relative paths can travel with the complete managed folder. External absolute paths must still resolve to the recorded data. There is no generic GUI “relink everything” command documented here. Restore missing external files at their recorded paths or use the supported registration/reload flow after inspecting the new source. Do not repair a project by editing JSON or deleting history/cache directories manually. Sequence Save As is not a whole-project relocation tool.
Track selected files with Git
Git can record changes to saved project files alongside your complete backup. You or your agent can take snapshots manually:
- Save the project and let active jobs finish. Start with a complete backup and verify it opens. Use a separate copy for version tracking and keep the Git repository local if the data should stay on your machine.
- In the copy, use
git initif you are starting a new repository. Add local ignore rules for the large reads, references, alignments, indexes and other bulky files in this specific project. Back those files up separately and record where each belongs. External linked files need their own backup. - Stage selected files by path, including
project.json, its matching.dna-history/files and the small owned inputs you want to track. Reviewgit status --shortbefore committing. Check the manifest and history for sensitive sequences, paths and identifiers before sharing a repository. - To recover a past version, restore the tracked files into a separate folder and restore the matching excluded files at their recorded locations. Open the recovered project and verify its records and artifacts before using it.
Xihl records its own project history. These Git steps are managed outside Xihl.
Missing files, reload and interrupted work
Opening a project restores descriptors; large reference/annotation runtime payloads may remain unloaded until explicitly reloaded. Follow the reference guide to reload/register a source. Identity checks can refuse changed data even when the filename is the same. Keep the original descriptor and file, inspect the failure, and rebuild/re-register through supported operations.
For a missing project companion or history file, restore the complete matching backup. For missing result files, restore the recorded artifact set or rerun the supported workflow into a fresh output location. Do not present a partial file as a completed report. Job cancellation/retry depends on the workflow's durable execution path; an interrupted stage is not universally resumable.
The default macOS global feature library is ~/Library/Application Support/DNA Editor/feature-library.json, with adjacent .dna-library-history. Keep it when removing an app or transferring user data. Explicit custom settings/library paths can change these locations.
Workspace feature catalogs
In Projects / Files → Catalogs, the Workspace feature catalog draws from saved annotations across the active Workspace. For example, you can find a feature saved in one Project while working on a record in another. The plasmid collection lists saved records and Projects. The annotation describes a feature on one record. The feature catalog makes eligible definitions reusable. The App-wide Library is a separate curated store.
Use Search catalog to look up a feature label, feature key, Project or record. Next page continues through the matches. Each row identifies the saved Project and record. Select a row to see its exact feature ID, saved revision, location, strand, qualifiers and reuse eligibility.
Save Project edits and use Refresh from saved Projects to include them. The catalog also checks saved Projects when you enter it or save with it open. Partial results disclose skipped sources and resource limits. To reuse an eligible definition, select it, choose Find in selected record, and explicitly accept a match. The app checks the saved source again before accepting and records its exact revision in the destination Project.
Use Load / replace manual catalogs… to set the manual entries, or Append to manual catalogs… to add entries. Repeated identical entries are counted as duplicates. During append, a different entry with the same catalog and entry IDs is reported as a conflict and the earlier entry stays installed. A rejected file preserves the currently installed catalog. Manual imports update a Workspace sidecar and retain prior versions. Existing Project catalogs and the App-wide Library have their own controls.