-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error: "None of ['WhiteListMatch'] are in the columns"Traceback: #11
Comments
Hi Sunny, thank you for using GoTChA. Can you try replacing the column name from 'X' to "WhiteListMatch"? |
Hello! Thank you for the reply. I tried to change 'X' to 'WhiteListMatch' in the list but it didn't help. |
Hi Sunny, I think the issue is actually with the "gene_id" and "sample_id" parameters that you set. Can you show me exactly how your own input .csv file looks? |
Genemeta.csv |
Hmm, I tried to read the file in python and it worked just fine for me. Can you try the following? In an interactive python session:
Let me know what output this gives and if any errors come up. |
@SanjayKottapalli The files is successfully read by the "gotcha_labeling.read_data". |
@Selecton98 was the issue fixed? |
Since it seems to be working when using python only and doesn't work when you call python through the R pipeline, it seems like it could be a reticulate issue @fizzo13 . Probably related to formatting of dataframes. @Selecton98 could you also try commenting/changing this code in your gotcha_labeling.py from
to only what's in the try block?
The error is strange because the try block shouldn't fail to begin with. |
@SanjayKottapalli One problem is the R "GotchaLabeling" doesn't need a "sample_column" information which is required by the python "GotchaLabeling" and "read_data". So I manually defined "sample_column='Sample'" in each of these two functions. Another problem is the csv file should include an index column and a "WhiteListMatch" column. Both of these two columns should be index/barcode information. Thank you, |
Thank you @SanjayKottapalli and @Selecton98 . I'll close the issue. |
Hello the Gotcha authors,
I'm trying your genotyping algorithm and encounter the following error:
"None of ['WhiteListMatch'] are in the columns"
Traceback:
. infile = "Genemeta.csv", gene_id = "Gene", sample_id = "RM30")
. infile = infile, gene_id = gene_id, sample_id = sample_id)
My file has a format matching your demo:
Could you please tell me in which file should I 'WhiteListMatch'
Thank you,
Sunny
The text was updated successfully, but these errors were encountered: