-
Notifications
You must be signed in to change notification settings - Fork 1
Gfllm search export #215
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
Draft
afg1
wants to merge
30
commits into
dev
Choose a base branch
from
gfllm-search-export
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Gfllm search export #215
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
aaf6d9a
Rust side implementation for GoFlow search index
afg1 53f2fef
Python bits of the goflowllm search index export
afg1 ffa4e42
Add necessary sql and nextflow bits
afg1 7c0b270
Merge branch 'dev' into gfllm-search-export
afg1 ca3ee09
Update rnacentral_pipeline/cli/r2dt.py
afg1 bbb78e2
Update rnacentral_pipeline/databases/ensembl/genomes/urls.py
afg1 c40cef0
Remove unused fetching of ensembl latest release from parsing release…
afg1 3e818d6
Remove some debugging print statements
afg1 a4901b7
Update rnacentral_pipeline/databases/ensembl/genomes/urls.py
afg1 0efdf8d
Remove some dead code relating to finding the ensembl release number
afg1 f30bead
Reinstate conditionals for running r2dt
afg1 0c2d944
Fix other instances of release matching not being defenzive about no …
afg1 96d37fd
Update rnacentral_pipeline/rnacentral/r2dt/parser.py
afg1 29dc710
Link up go flow search export processes properly
afg1 6332d64
Use less stringent regex in ensembl release detection
afg1 cd6e07d
Remove some trailing whitespace
afg1 fa07512
Raise value errors instead of relying on assertions
afg1 b045965
Merge branch 'dev' into gfllm-search-export
afg1 f00a676
Fix not passing goflow data to merging process correctly
afg1 acdba3c
Update expected key from search export rust code
afg1 fa64872
Rust side CLI requires kebab-case filename to match file type enum, s…
afg1 77583ac
Improve documentation comment in sequence raw handler
afg1 ea94cdc
Cargo clippy fixes
afg1 e8c00c3
Remove an unused polars dependency
afg1 e8524b7
Merge branch 'dev' into gfllm-search-export
afg1 03da0dd
Merge branch 'dev' into gfllm-search-export
afg1 93d5a39
Fix misnamed editing events export process
afg1 6ba1a0a
Repair so_tree fetching
afg1 aaaff28
Don't use a container for goflow text search export
afg1 007966d
Use infernal version arg for copying binaries into final container
afg1 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| COPY ( | ||
| SELECT | ||
| json_build_object( | ||
| 'id', todo.id, | ||
| 'urs_taxid', todo.urs_taxid, | ||
| 'should_show_goflow', true | ||
| ) | ||
| FROM search_export_urs todo | ||
| JOIN go_flow_llm_curation_results gfllm | ||
| ON | ||
| todo.urs_taxid = gfllm.urs_taxid | ||
| ORDER by todo.id | ||
| ) TO STDOUT |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| use serde::{ | ||
| Deserialize, | ||
| Serialize, | ||
| }; | ||
| use std::path::Path; | ||
|
|
||
| use anyhow::Result; | ||
| use rnc_core::grouper; | ||
|
|
||
| #[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)] | ||
| pub struct GoFlowLLMAnnotation { | ||
| pub id: usize, | ||
| urs_taxid: String, | ||
| should_show_goflow: bool, | ||
| } | ||
|
|
||
| impl grouper::HasIndex for GoFlowLLMAnnotation { | ||
| fn index(&self) -> usize { | ||
| self.id | ||
| } | ||
| } | ||
|
|
||
| pub fn group(path: &Path, max: usize, output: &Path) -> Result<()> { | ||
| grouper::group::<GoFlowLLMAnnotation>(grouper::Criteria::AnyNumber, &path, 1, max, &output) | ||
| } | ||
|
|
||
| impl GoFlowLLMAnnotation { | ||
| pub fn should_show_goflow(&self) -> bool { | ||
| self.should_show_goflow | ||
| } | ||
|
|
||
| pub fn urs_taxid(&self) -> &str { | ||
| &self.urs_taxid | ||
| } | ||
| } |
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
Oops, something went wrong.
Oops, something went wrong.
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.