Skip to content
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

Remove any project that does not have an assembly #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eva_assembly_ingestion/assembly_ingestion_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def get_source_assemblies_and_projects(self):
f"LEFT OUTER JOIN evapro.project_analysis USING (project_accession) "
f"LEFT OUTER JOIN evapro.analysis USING (analysis_accession) "
f"WHERE taxonomy_id in ({', '.join([str(t) for t in self.taxonomies])}) "
f"AND ena_status=4 AND hidden_in_eva=0 "
f"AND ena_status=4 AND hidden_in_eva=0 AND vcf_reference_accession IS NOT NULL "
f"GROUP BY vcf_reference_accession, taxonomy_id"
)
return get_all_results_for_query(pg_conn, query)
Expand Down
Loading