GMOD / Apollo3

JBrowse 2 plugin for editing annotations on an Apollo server
Apache License 2.0
6 stars 4 forks source link

Load local GFF3 using new annotation feature format #384

Open garrettjstevens opened 2 months ago

garrettjstevens commented 2 months ago

Using the branch new_feature_model, update packages/jbrowse-plugin-apollo/src/util/loadAssemblyIntoClient.ts to use the new annotation feature format. The new feature format has been imported in that file, so it will need to be adjusted so the the "feature" created and eventually passed to ref.addFeature(feature) matches the new feature format.

You can compare the new and current feature formats, they are in packages/apollo-mst/src/AnnotationFeature.ts (current) and packages/apollo-mst/src/AnnotationFeatureModel.ts (new), but a few things I'll point out:

You can test this out with the Apollo -> open Local GFF3 file menu. You can use this GFF3:

volvox_canonical_gene.gff3.gz