Xihl Editor v0.3 · macOS ARM64
XIHL / Editor

Analysis and workflow guide

For STAR or minimap2, see aligner profiles and separate index preparation.

Guide contents · Tools and resources · Formats · CLI and agents

Start from an explicitly selected record or registered input. Save the source project when an operation needs a pinned revision. Read setup/preview output before starting work, choose unused output locations and inspect recorded inputs and tool versions with the result. An earlier saved result is not silently recomputed after you edit its source. A stale result can be inspected as history, but cannot establish the current document's sequence.

Comparison, statistics and protein translation

Molecular Analytics exposes sequence statistics and related analyses; Sequence has motif search. Compare takes two explicit sequences/records and alignment settings; inspect aligned bases, gaps and source identity before exporting. An alignment is evidence for the chosen algorithm/settings, not a population or functional conclusion. Bounded or unavailable results must not be treated as complete.

Protein / ORFs translates a selected CDS or explicit DNA location and strand, and scans supported ORF candidates. Check the selected genetic code, reading frame, joined segments, start offset, ambiguity and trailing bases. The nucleotide-to-protein mapping lets you inspect which bases produced a residue. Save an accepted ORF as a feature explicitly; exporting protein FASTA/mapping TSV does not annotate the DNA. Changes to coding DNA can invalidate stored translations.

On an annotated coding feature (CDS), the GenBank qualifier /transl_table identifies the genetic code used to read its codons. Xihl supports tables 1 (standard) and 11 (bacterial, archaeal and plant plastid) for CDS translation. The pBR322 ROP feature declares table 11. Its first codon, GTG, gives methionine (M) at this complete annotated start. An internal GTG gives valine (V). Translate CDS shows 63 residues followed by the stop for this feature. Select the first residue to inspect bases 1915–1917 in Sequence. A CDS that requests another table produces an error identifying the supported tables.

ORF discovery searches for candidate coding ranges using table 1 and an ATG start. Use Translate CDS to follow an existing feature's annotated table.

The desktop shows an ORF's reading frame as 1, 2, or 3 from the origin of its strand. Structured translation results report frame as the zero-based offset within the supplied source location. An ORF translated from its first codon has a source offset of zero.

Headless equivalents: sequence-stats, sequence-search, compare, compare-export, translate, orf-scan, orf-accept, protein-export. The small recipes have literal expected answers; full option definitions are in the command reference.

Restriction analysis and cloning plans

The PCR panel sits to the right of restriction analysis when space allows and moves below it in a narrow window.

In Molecular Analytics, select the intended restriction enzymes and inspect recognition sites, cleavage positions, ends and fragment results. Recognition-only results and unsupported cleavage models are distinct from a simulated digest. The included cutter catalog is scoped data, not a claim to reproduce REBASE's commercial database or every enzyme. Keep source/catalog notices with exports.

In Cloning, create a design, add explicit sequence inputs, choose the supported plan type/settings (PCR, Gibson assembly or Restriction join) and calculate. Inspect orientation, junctions, fragment choices, warnings and exact product sequence before confirmation/registration. A plan pins input revisions. Recalculation against changed inputs is explicit; an old confirmed product does not become fresh merely because its source was edited.

Computational PCR uses explicit template/primer inputs and supported matching rules. Primer design starts from a selected target/context and user constraints. Inspect candidate pairs, their additional predicted binding-site products and exclusions before accepting named primers. Project and global-library writes have separate revision guards; recovery can be required if one committed before registration failed. Do not resubmit blindly after an uncertain write.

Open Molecular Analytics to calculate cut counts for the selected record. Select all matching adds enzymes from the current search and count filters. Clear all removes every selected enzyme, including hidden selections. Predict digest updates the current prediction lane. Use Add digest comparison lane to retain a separate result, and use the sites and fragments page controls to inspect longer result lists.

Each lane legend records the molecule and enzymes, or the PCR template and primers, alongside any custom title. The same captions appear in exported SVG and JSON. TSV exports of newly captioned gels include a trailing lane_inputs column. Digest captions appear on the first row of each lane. PCR captions appear on their product rows. Older records with missing input names show the available provenance.

Simulated gels visualize predicted fragment lengths. They are schematic calculations, not measured migration or a wet-lab protocol. Save a gel with a captured digest in a project that contains its source history. For a standalone export, enter a new directory in the gel panel to carry the plot and its source metadata between projects. Exported oligos or plans do not guarantee experimental success or supply laboratory conditions.

Headless groups: digest*, enzyme-catalog, restriction-query, restriction-cutters, cloning-*, pcr-candidates, primer-design*, primer-from-selection, gel-export. Use library-* and catalog-* for explicit library/catalog inspection and acceptance, distinct from calculating a plan.

Sanger traces and grouped verification

Open supported AB1/ABI trace data with an explicit expected sequence in Sanger Trace. Inspect called bases, quality/chromatogram context, orientation, alignment and differences. A displayed mismatch or ambiguous call is evidence to review, not an automatic instruction to edit the expected record.

When a trace uses a pinned expected revision, Use current document instead switches the reference to the document selected in the sidebar. Run placement or the legacy comparison again after switching.

For the grouped desktop flow, choose Batch screening / legacy comparison, then Add AB1 files… or Scan AB1 folder…, set clone ID/target and choose Prepare and screen batch. Review completed item pages and clone summaries; retry incomplete items into a fresh summary rather than changing old evidence. The legacy raw comparison is distinct from Single trace automatic placement.

Headless grouped Sanger preparation takes a manifest assigning trace inputs to clone/sample groups, a pinned expected project record and optional target. Check manifest validation and prepared request, then run the batch through Local Jobs. Inspect per-trace evidence and clone summaries, including disagreements, uncallable regions and incomplete groups; retain original traces and the exact expected revision. Completed artifacts can be inspected/exported or explicitly registered in a project.

CLI: trace-verify, trace-query, trace-register, sanger-batch-prepare, sanger-batch-inspect, sanger-batch-export, sanger-batch-register, plus the workflow/job commands. Review ambiguous calls and trace quality before interpreting a group summary.

For a retry's fresh summary, pass its exact directory to sanger-batch-export or sanger-batch-register with --summary-dir; omitting it selects the original batch/summary. Do not register/export the old summary as though it were the retry.

Local jobs: QC, DNA and RNA

Open Local Jobs → New job, choose a workflow, provide its explicit inputs and tools, and inspect resources/output locations before starting. Opening setup alone does not launch computation. Select the queue entry to inspect Report, Log and Inputs & resources. Reports retain the recorded inputs, parameters and tool versions; completed report files remain inspectable without rerunning the tool.

WorkflowInputs and prerequisitesOutputs and interpretation
FASTQ QCSupported plain/gzip FASTQ, thread/memory budget; no external scientific executableStreamed read/base/length and mean-quality summaries, saved JSON report and supported SVG export. No inferred quartiles or complete quality distribution
Short-read DNA mappingReads, matching reference FASTA, minimap2 and samtools; index-cache/output locationsRecorded alignment pipeline, sorted BAM/index and report/coverage artifacts. Inspect mapping counts and chosen reference; these alone do not prove every base is verified
Nanopore plasmid verificationReads, selected pinned circular plasmid, minimap2 and samtoolsDoubled mapper reference/BAM plus original-plasmid projected coverage/read browser. Origin-crossing records are joined in the original-coordinate view; do not confuse mapper coordinates with document coordinates
Bulk RNA raw gene countsSingle/paired Phred33 reads, matching genome/annotation, STAR and samtools, selected strandedness; gzip when configuredSTAR raw unique-mapping gene-count TSV and recorded report. Select the intended GeneCounts column; not TPM/FPKM, normalized expression, merged count matrices, differential expression or arbitrary-BAM recounts

See tools for versions, packaging status and explicit configuration, and references for genome/annotation placement. Check disk space and annotation size before running. Full-human mapping capacity and minimum host memory are unqualified.

Use Cancel on the selected active job when needed and wait for its terminal state. Failed/cancelled work must not be labelled completed from the presence of some files. Retry uses the workflow's existing rerun/recovery semantics, not universal mid-stage resume. Inspect logs and source identities first. Foreground CLI workflow-run and durable jobs-submit have different lifecycles; see CLI job handling.

The queue remains above the selected report as you scroll. Use Report, Log, and Inputs & resources to inspect the selected job. The report lists published outputs and offers Copy path. Use Reload report to check again after restoring a missing file.

Completed mapping reports offer Open mapped reads in Genome Viewer. The viewer opens the selected job's exact FASTA, BAM and index. If a file is missing or replaced, restore that job's original files and reload the report, or rerun into a fresh result folder. The viewer will not substitute files from another job. Nanopore shows the doubled mapping reference there. In its Local Jobs report, projected coverage stays on the original plasmid and First, Pan, and Last move the current zoom window. Nanopore and single-end DNA reports count each FASTQ read once and show separate BAM record totals. Older reports retain their recorded BAM statistics. Rerun an older workflow to obtain primary mapped and unmapped read totals and the identities needed for the viewer handoff.

Genome browsing and read subsets

Use Genome Viewer with indexed local reference/annotation and compatible track sources. Follow the reference guide to index, register, reload and query them. Choose contig/range and explicit alignment filters. Wide coverage views and bounded read-detail pages are different representations; look for truncation/ continuation and omitted records. A display cap is not a biological absence call.

Supported track families include annotation, coverage, BAM, CRAM, plain VCF, BED and bigBed with their format/index requirements. VCF browsing does not generate variants. CRAM needs the matching explicit local reference; it does not fetch a genome automatically. Deriving a browser reference from an editable record is a distinct explicit operation.

Read subsets start from recorded sources and explicit predicates. Preview membership and counts before export. Exported reads/membership/provenance are separate artifacts; the original source remains unchanged. Not every subset operation has a standalone registration command: use the supported project/GUI flow rather than inventing one. CLI: reference-query, track-query, track-register, browser-derive, subset-inspect, subset-preview, subset-export.

Local nucleotide search accepts a document/feature/range query or explicit unassociated DNA text. Preview the exact query capture before preparing a search. Choose a supported local BLAST executable and prebuilt database prefix, record the database terms/identity and task, then run. BLAST and the database are user supplied; no database is silently downloaded or bundled.

Inspect hits/HSPs, strand, coordinates and captured source before exporting or registering the result. A zero-hit result is not evidence of absence outside the chosen database/search settings. Changed source context marks associated results stale; unassociated text does not acquire a fictitious project record. CLI: search-preview, search-prepare, search-run, search-inspect, search-export, search-register (or durable jobs for the prepared request).

External structure submission and local viewing

Prepare the selected protein and its nucleotide/residue mapping explicitly. The submission/export packet lets you send data to an external provider yourself; review that provider's terms and transfers. No local protein predictor or background upload is supplied by this workflow.

Use Import raw PDB/mmCIF… with the expected submission/source, model and author chain, or Open imported structure bundle… for an existing checked bundle. Inspect mapped residues, current/stale status and optional explicitly chosen pLDDT sidecar. Confidence values are not inferred from arbitrary B-factors. Representation controls show residue balls, atomic ball-and-stick, ribbon and cartoon. These are visualizations, not structure-comparison scores or proof of prediction accuracy.

Export original structure… preserves available original source bytes. Convert structure with loss report… is a separate potentially lossy export; inspect and save its loss report. Missing originals are reported rather than fabricated. CLI: protein-prepare, structure-inspect, structure-import, structure-register, structure-residue-map, structure-export, structure-convert.

Residue balls places one ball at each observed C-alpha position and uses amino-acid identity colors initially. Ball radius is a display size. Links follow uninterrupted polymer order. Use the labeled color key and select a ball to read its exact residue identity. Ribbon and Cartoon offer the same amino-acid and side-chain palettes alongside their original representation colors. Atomic ball-and-stick shows atoms with element colors. Missing coordinates remain gaps.

Side-chain class uses the IMGT convention for nonpolar, polar, acidic and basic residues, with neutral gray for unknowns. Cysteine is grouped with nonpolar residues. Histidine is grouped with basic residues without specifying its protonation state. These colors describe qualitative classes.

To link both views, translate a CDS, then import a matching PDB/mmCIF and choose its model, chain and conformer. Select bases in the Sequence editor and return to Structure. The selected codons tint their mapped residues in the current representation, even when only one or two bases are selected. The readout shows partial codons and residues unavailable in that representation. Select a structure residue and choose Highlight mapped DNA codon to go the other way. Clearing the DNA selection clears the structure tint. An unchanged associated source document is required. Raw previews have no DNA link.

Headless callers can add --project PATH --dna-location '{"segments":[{"start":4,"end":9}]}' to structure-residue-map --bundle DIR, or pass the same fields to xihl_structure_residue_map over MCP. Coordinates are zero-based and half-open; use separate segments for joined or origin-crossing selections. Results preserve explicit residue IDs and report selected contributors and C-alpha availability. An empty, unmapped, stale or missing-source result returns no residues. Omitting --dna-location keeps the unfiltered bundle map.

With the current Project and its registered bundle open, choose Protein / ORFs → Translation & ORFs → Preview amino-acid substitutions…. The field starts with the associated chain. Change any letters or paste a complete replacement of the same length, using the 20 standard uppercase amino-acid codes. Apply preview accepts the entire field together. An error keeps the last applied sequence. Both views list edited positions lacking C-alpha coordinates.

Choose View in Structure, then Side-chain class or Amino acid. Switch between Original residues and Preview on original coordinates and pick the same ball to compare its identity. Atoms, DNA codons and the original structure export retain their source identity. Reset substitutions clears the session preview.

For a read-only CLI preview, obtain the source occurrence from the bundle map, then run:

dna-cli structure-residue-map --project PATH --bundle DIR --source-revision REV --preview-sequence MKDT

Here MKDT is an example replacement for the four-residue MGSA toy. MCP accepts the same fields on xihl_structure_residue_map. The result includes the revision, model, chain, original file checksum and a preview_residues row per position. Each row reports a zero-based protein offset, the full structure residue ID, both letters and property classes, and C-alpha availability.

Local prediction and structure comparison remain deferred.

Calculated electrostatic potential

In Structure, open the original PDB or its registered bundle, then choose Import APBS field… and select the matching .apbs.json file. The field belongs to the original atom coordinates, model and chain. Switch between Structure representations and Calculated potential to use the same camera. An amino-acid substitution preview changes residue labels and property colors. Its edits do not recalculate the field.

Red is negative, white is zero and blue is positive. The scale saturates at −25 and +25 kT/e. The smooth surface follows the molecular accessibility boundary from the 1.4 Å solvent probe. Each mesh vertex samples the potential from the original 0.5 Å APBS grid. Colors vary continuously between vertices. Open Field samples and calculation details for the signed reference values and XYZ coordinates, the range at the original grid crossings, calculation location, hashes, grid origin and solver settings.

This import profile accepts a complete single standard PDB chain in model 1, with unambiguous atom coordinates and a surface that fits inside the grid. Incomplete, clipped or mismatched fields produce an import error. Field packets are limited to 24 MiB and are opened for the current structure session. Prepare the packet with externally installed PDB2PQR 3.7.1 and APBS 3.4.1. The worked diglycine example includes the exact commands and data.

dna-cli structure-inspect --input diglycine.pdb --format pdb --apbs-field diglycine.apbs.json

MCP accepts the same fields on xihl_structure_inspect. The read-only result includes the validated grid boundary face count, potential units, reference samples and source, preparation and field identities.

Collections, provenance and sharing

Projects / Files also exposes collection/catalog organization. Collection refresh builds a saved-project metadata index; query pages reference exact saved documents/features. They do not search unsaved desktop edits. If a generation or saved revision changed, refresh/inspect before acting. CLI: collection-*, discover, document-query, feature-query, project-documents, project-sources.

History/replay exports capture provenance for supported operations. Choose redaction deliberately: default history may contain paths and bases; hashes can remain after redaction and free-form notes need review. Replay depends on available inputs, compatible tools and declared equivalence; it is not a universal bit-identical reproduction guarantee. Keep sensitive material out of externally shared examples.