We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9597584 commit 32d7b80Copy full SHA for 32d7b80
1 file changed
main/como/rnaseq_gen.py
@@ -168,6 +168,11 @@ async def _build_matrix_results(
168
"""
169
matrix.dropna(subset="ensembl_gene_id", inplace=True)
170
conversion = await ensembl_to_gene_id_and_symbol(ids=matrix["ensembl_gene_id"].tolist(), taxon=taxon)
171
+
172
+ # If any one column was
173
+ if any(conversion[col].eq("-").all() for col in conversion.columns):
174
+ logger.critical(f"Conversion of Ensembl Gene IDs to Entrez IDs and Gene Symbols was empty - is '{taxon}' the correct taxon ID for this data?")
175
176
conversion["ensembl_gene_id"] = conversion["ensembl_gene_id"].str.split(",")
177
conversion = conversion.explode("ensembl_gene_id")
178
conversion.reset_index(inplace=True, drop=True)
0 commit comments