upload a file (GFF3 or FASTA) and use it to load an assembly with sequence in the database
use an external URL to create an assembly that doesn't store the sequence in the database
I think we need a third option:
upload a file (FASTA) and use it to create an assembly that doesn't store the sequence in the database
The steps I see are:
Allow user to upload either a FASTA/FAI or FASTA.GZ/FAI/GZI set of files.
Store the file IDs in the assembly (modify assembly.schema.ts) similar to the externalLocation in the assembly (perhaps called fileLocation).
In sequence.service.ts, check to see if the assembly has a fileLocation and if it does, fetch the sequence from the file similar to how the externalLocation fetches from a URL.
Currently we have the options to
I think we need a third option:
The steps I see are:
externalLocation
in the assembly (perhaps calledfileLocation
).fileLocation
and if it does, fetch the sequence from the file similar to how theexternalLocation
fetches from a URL.