gensplore 0.0.5 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -63,3 +63,13 @@ As a component:
63
63
 
64
64
  ```
65
65
 
66
+
67
+ Pass an optional `fastaUrl` string to `GensploreView` to load an alternative DNA
68
+ FASTA for comparison with the GenBank reference. The viewer also offers a local
69
+ file picker and URL input. Alignment runs in a browser worker; results show
70
+ reference-relative DNA differences and translated changes above affected AA
71
+ ribbons. Synonymous changes have no AA label; frameshifts and unsupported
72
+ translation annotations are handled explicitly. Biological function is not predicted. See the root
73
+ README for alignment limits and coordinate conventions.
74
+
75
+ For an existing reference-coordinate alignment, pass `alignedSequence={{ name, sequence, insertions }}` instead of `fastaUrl`. The sequence has one IUPAC base (including `N`) or deletion gap (`-`) per reference base. Insertions are `{ position, sequence }`, where position is the number of reference bases before the insertion (0 means before the first base). This preserves supplied gap placement and bypasses FASTA realignment. Removing the prop clears the comparison.