-
Notifications
You must be signed in to change notification settings - Fork 2
Improve code logic and add fetch genome by ensembl and assembly name #31
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
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
53654df
add fetch genome by ensembl name and assembly name
bilalebi ae69e97
Edit README and add missing None
bilalebi 1c010c6
remove mutual exclusivity in fetch_genomes()
bilalebi 7e78833
add fetch genomes test with and without conflicted args
bilalebi 478cc68
add EnsemblRelease to the returned tuple, fix release check
bilalebi b36ace7
edit fetch_sequences to return Genome and Assembly
bilalebi a8eb73d
remove defualt dataset_name value from fetch_genome_datasets
bilalebi 72b1364
add back default group topic and 'all' option for dataset_name
bilalebi 52a0a4a
add release arg to fetch_genome_datasets
bilalebi ef1c9ff
Add attribute related info
bilalebi 1ad5f7a
fix join warnings and refactor filters
bilalebi 4b7dcbc
add assembly_uuid param to fetch_sequences and fix query
bilalebi 0bd905a
add organism_uuid param to fetch_genome_datasets
bilalebi a9b40fd
improve fetch_taxonomy_names()
bilalebi 7b5ebde
add organism_uuid param to fetch_genome
bilalebi d54ab06
add fetch_genome_by_keyword function
bilalebi eb53b48
add __repr__ function
bilalebi 5929613
fix some broken tests
bilalebi f755e44
fix broken test and add fetch_unreleased_genome_datasets() method
bilalebi 3bab017
fix broken updater tests
bilalebi ca9f0bf
fix more broken tests and commented the ones that will be fixed after…
bilalebi 2d2cc89
remove duplicated code fetch_unreleased_genome_datasets()
bilalebi f97d36f
add fetch_sequences_by_gneome_assembly tests
bilalebi db9370d
add assembly_sequence_accession arg to fetch_sequences
bilalebi 374cdd2
:twisted_rightwards_arrows: fix merge conflicts
bilalebi c86d528
Merge branch 'main' into feat/ftch_gnome_by_assemb_nme_gn_bld_id
bilalebi 92fd0d4
fix broken tests, update assembly.txt, improve genome.py queries and …
bilalebi 5e47943
minor test fix
bilalebi efff9f9
final minor test fix
bilalebi 982163f
removed __repr__ since the schema is still not stable
bilalebi a55f063
use object model instead of foreign keys
bilalebi 0d42cf0
implement suggested changes and fixed ensembl_release logic
bilalebi 92b5f7c
Merge branch 'main' into feat/ftch_gnome_by_assemb_nme_gn_bld_id
bilalebi dd99c24
add the possibility to fetch genome uuid using default_assembly name
bilalebi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions
16
src/ensembl/production/metadata/api/sample/ensembl_metadata/assembly.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| 1 eeaaa2bf-151c-4848-8b85-a05a9993101e hg38 GCA_000001405.28 chromosome 1 GRCh38.p13 \N GRCh38 \N 2023-05-12 13:30:58 GRCh38.p13 \N 1 \N | ||
| 2 633034c3-2268-40a2-866a-9f492cac84bf hg19 GCA_000001405.14 chromosome 2 GRCh37.p13 \N GRCh37 \N 2023-05-12 13:32:06 GRCh37.p13 \N 0 \N | ||
| 3 f78618ef-1075-47ee-a496-be26cad47912 \N GCA_000005845.2 chromosome \N ASM584v2 \N ASM584v2 \N 2023-05-12 13:32:14 ASM584v2 \N 0 \N | ||
| 4 224d836f-36a7-4c4e-b917-ecff740e404f \N GCA_000002765.2 chromosome \N ASM276v2 \N ASM276v2 \N 2023-05-12 13:32:25 ASM276v2 \N 0 \N | ||
| 5 ec1c4b53-c2ef-431c-ad0e-b2aef19b44f1 \N GCA_900519105.1 chromosome \N IWGSC \N IWGSC \N 2023-05-12 13:32:36 IWGSC \N 0 \N | ||
| 6 7e8ed3a8-d724-4cba-92e1-e968719b7a18 \N GCA_000146045.2 chromosome \N R64-1-1 \N R64-1-1 \N 2023-05-12 13:32:46 R64-1-1 \N 0 \N | ||
| 7 f7de35c9-e0e8-4e81-b186-2962098d6361 \N GCA_000002985.3 chromosome \N WBcel235 \N WBcel235 \N 2023-05-12 13:32:52 WBcel235 \N 0 \N | ||
| 8 eeaaa233-151c-4848-8b85-a05a9993101e \N GCA_000001499.28 chromosome 1 GRCh38 t2t \N GRCh38 t2t \N 2023-09-07 14:30:58 GRCh38_t2t \N 1 \N | ||
| 1 eeaaa2bf-151c-4848-8b85-a05a9993101e hg38 GCA_000001405.28 chromosome GRCh38.p13 \N GRCh38 \N 2023-05-12 13:30:58 GRCh38.p13 \N 1 \N | ||
| 2 633034c3-2268-40a2-866a-9f492cac84bf hg19 GCA_000001405.14 chromosome GRCh37.p13 \N GRCh37 \N 2023-05-12 13:32:06 GRCh37.p13 \N 0 \N | ||
| 3 f78618ef-1075-47ee-a496-be26cad47912 \N GCA_000005845.2 chromosome ASM584v2 \N ASM584v2 \N 2023-05-12 13:32:14 ASM584v2 \N 0 \N | ||
| 4 224d836f-36a7-4c4e-b917-ecff740e404f \N GCA_000002765.2 chromosome ASM276v2 \N ASM276v2 \N 2023-05-12 13:32:25 ASM276v2 \N 0 \N | ||
| 5 ec1c4b53-c2ef-431c-ad0e-b2aef19b44f1 \N GCA_900519105.1 chromosome IWGSC \N IWGSC \N 2023-05-12 13:32:36 IWGSC \N 0 \N | ||
| 6 7e8ed3a8-d724-4cba-92e1-e968719b7a18 \N GCA_000146045.2 chromosome R64-1-1 \N R64-1-1 \N 2023-05-12 13:32:46 R64-1-1 \N 0 \N | ||
| 7 f7de35c9-e0e8-4e81-b186-2962098d6361 \N GCA_000002985.3 chromosome WBcel235 \N WBcel235 \N 2023-05-12 13:32:52 WBcel235 \N 0 \N | ||
| 8 eeaaa233-151c-4848-8b85-a05a9993101e \N GCA_000001499.28 chromosome GRCh38 t2t \N GRCh38 t2t \N 2023-09-07 14:30:58 GRCh38_t2t \N 1 \N |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.