Skip to contents
Chapters and reference

Data and workflows Β· Section 10 of 12

6.9 Data workflows

On this page

1 Choose by input and goal

Identify the original input and the intended plot. Every path preserves source IDs, complete lengths and coordinate units. Readers do not run alignments or generate missing relationships or annotations.

Input available Shortest processing path Result and plotting entry
Existing R tables Organize minimal fields, check endpoint/annotation IDs and inspect validation reports Length, HSP and annotation tables β†’ shared data and layers
FASTA, GFF3 and BLAST/PAF Import sequences and annotations, then alignments; check lengths, units and IDs, retaining reverse endpoints Source tables β†’ relationship plot or HSP Dotplot
One GenBank record Use read_genbank() in sequence import; inspect lengths, annotation hierarchy and original segments One sequence and annotations β†’ circular backbone and annotations
Protein BLASTp and complete lengths Declare aa units and read alignments; verify both protein IDs; supply actual CDS/phase before projecting to DNA Protein positions β†’ protein comparison; DNA positions β†’ projection
BED/BEDPE intervals Read intervals or paired intervals and check the reader’s one-based conversion without converting twice Annotation intervals or paired links β†’ features and links
bedGraph/BigWig signals Import signals, retaining units, missingness and source intervals without filling unknown regions with zero Signals β†’ tracks; counts/bins β†’ track statistics
Existing character alignment Import aligned characters, checking gaps, source positions and alphabet Observed alignment columns β†’ magnification and character details

2 Checks before plotting

  1. Sequence accver values are unique and lengths come from complete sources, never the last annotation endpoint.
  2. Link qaccver/saccver and annotation accver match the sequence table. Explicitly distinguish repeated contig names across samples; readers do not guess membership.
  3. DNA uses bp and proteins use aa; BED/PAF readers already convert coordinates. Ascending/descending link endpoints can encode direction and must not be uniformly sorted.
  4. Draw a minimal plot before adding layers, local settings and target-size output. Use symptom-based diagnostics for problems.

3 Complete source-backed example

Sequence comparison from FASTA/GFF3/BLAST retains paths, display filters, inputs and results. Obtain originals from the input archive, extract it and run downloaded scripts from a directory containing examples/.

Search documentation

↑ ↓ select Β· Enter open Β· Esc close; or browse by task. API and functions