Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability for indexed sequence file to be uploaded and used in an a…
…ssembly (GMOD#432) * Start implementing file upload|download|get * Add delete command and various small edits * Add FileCommand handling file operations * Handle default profile via undefined * Download file as stream * Handling of gzip input and bgzip'd & indexed fasta * CLI can upload and add assembly from gzip files (GMOD#405 and GMOD#407) * CLI can add assembly in non-editable mode with `--no-db` flag, i.e. without loading sequence to mongodb (GMOD#406). Only bgzip'd & indexed fasta file are supported, not plain fa/fai files. See tests in test.py: `testFeatureChecksIndexed`, `testFileUploadGzip`, `testAddAssemblyWithoutLoadingInMongo` * Fix linter * Formatting * Add description for file CLI topic * Deduplicate sequence fetching code * Reference File schema from Assembly schema * Rename commands * Remove -i option since file is positional * Rename option --no-db and some other fixes * Add additional type and make input arg required * Tmp commit * fix app start issue * fix lint * Tmp commit addressing GMOD#432 Fix GMOD#424 * Tmp commit * This should address comments in GMOD#432 But most likely there will be changes to clunky code * Temp commit to fix buffer * Fix filehandle type * Use files service to get filehandles * Fix fileId vs fileIds and other issues for GMOD#432 All tests except those for chekcs passing * Allow fasta input to be gzip * Fixes after rebase * Move LocalFileGzip to collab server package * Match selector to other updated tests --------- Co-authored-by: dariober <dario.beraldi@gmail.com> Co-authored-by: Shashank Budhanuru Ramaraju <shashank.b.r.gowda45587@gmail.com>
- Loading branch information