diff --git a/eva_assembly_ingestion/assembly_ingestion_job.py b/eva_assembly_ingestion/assembly_ingestion_job.py index 6af3e63..621c4b3 100644 --- a/eva_assembly_ingestion/assembly_ingestion_job.py +++ b/eva_assembly_ingestion/assembly_ingestion_job.py @@ -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)