Open avisajn opened 11 months ago
you should add content of alignedSequences to pairwiseAlignments
@avisajn you can simply not return pairwiseAlignments
and alignmentsToRefSeq
if they're not being used.
As for what the return value should look like, it should look like one of the example alignment's data. Go look at the example alignments for more info on that!
@tnrich sorry i still have problem with handleAlignment, I run the official demo
What kind of data format do these three values in handleAlignment need to return to display normally? There will be problems with the rendering I wrote in this way. Can you give me a fake data? This has troubled me for a long time,
Because I'm not sure whether it's the code or the data, you'd better try it with fake data
this is my data , like this
return { alignedSequences: [{ id: "ef83a2d9-2b56-4a06-8a83-55ee3a0d1604", features: [], name: "F05206", sequence: "--atgcatcaccatcat", }, { id: "ef83a2d9-2b56-4a06-8a83-55ee3a0d1604", features: [], name: "F05206", sequence: "--atgcatcaccatcat" }], pairwiseAlignments: false, alignmentsToRefSeq: false, }