-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy feature from evidence track #473
base: main
Are you sure you want to change the base?
Copy feature from evidence track #473
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When testing this out, I wasn't able to select just the transcript, it would always select the gene, too.
checkboxes.mp4
Here's the evidence track GFF3 for the gene I was using:
SM_V10_3 WormBase_imported gene 9658336 9659388 . + . ID=gene:Smp_004310;Name=Smp_004310;biotype=protein_coding;description=V-type proton ATPase proteolipid subunit;description_source=UniProtKB/TrEMBL;description_source_acc=G4LXI9
SM_V10_3 WormBase_imported mRNA 9658336 9659388 . + . ID=transcript:Smp_004310.1;Parent=gene:Smp_004310;Name=Smp_004310.1;info=method:InterPro accession:IPR000245 description:V-ATPase proteolipid subunit %0Amethod:InterPro accession:IPR002379 description:V-ATPase proteolipid subunit C-like domain %0Amethod:InterPro accession:IPR011555 description:V-ATPase proteolipid subunit C%2C eukaryotic %0Amethod:InterPro accession:IPR035921 description:F/V-ATP synthase subunit C superfamily
SM_V10_3 WormBase_imported exon 9658336 9658469 . + . ID=exon:Smp_004310.1.1;Parent=transcript:Smp_004310.1
SM_V10_3 WormBase_imported exon 9658501 9658684 . + . ID=exon:Smp_004310.1.2;Parent=transcript:Smp_004310.1
SM_V10_3 WormBase_imported exon 9658722 9659388 . + . ID=exon:Smp_004310.1.3;Parent=transcript:Smp_004310.1
SM_V10_3 WormBase_imported five_prime_UTR 9658336 9658396 . + . Parent=transcript:Smp_004310.1
SM_V10_3 WormBase_imported CDS 9658397 9658469 . + 0 ID=cds:Smp_004310.1;Parent=transcript:Smp_004310.1
SM_V10_3 WormBase_imported CDS 9658501 9658684 . + 2 ID=cds:Smp_004310.1;Parent=transcript:Smp_004310.1
SM_V10_3 WormBase_imported CDS 9658722 9658926 . + 1 ID=cds:Smp_004310.1;Parent=transcript:Smp_004310.1
SM_V10_3 WormBase_imported three_prime_UTR 9658927 9659388 . + . Parent=transcript:Smp_004310.1
const [selectedDestinationFeature, setSelectedDestinationFeature] = | ||
useState<AnnotationFeatureSnapshot>() | ||
|
||
useEffect(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of fetching features from the server, this should look at the already-fetched features stored in session.apolloDataStore
.
Fixes #447