-
Notifications
You must be signed in to change notification settings - Fork 2
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 in optim(init, fn = loglik_per_TF, gr = deriv_per_TF, lower = 10^(-16), : L-BFGS-B needs finite values of 'fn' #1
Comments
Hi rdbcasillas, Thanks for your question and for using BiFET! It looks like the input footprinting calls file that you provided are for only one transcription factor motif "KLF6". Currently, BiFET must be supplied with >1 unique transcription factor motifs/PWMs as the function I hope this helps :) |
Hi Nathan, Thanks for responding. I added another TF STAT3 but I am getting the same error. Here is what I get this time:
I have updated the dropbox link with new data. |
Hmm, that's strange. I'm able to run the Looks like this could be an issue with the parameters in the optimization function within @youna2 Can you please have a look at the provided data? |
Hi rdbcasillas, I revisited your input peak file and noticed that your GC content values seemed strange.
I'm not sure what species your peak data originated from, but it seems strange that your max GC content is ~21% (seems low; I think the average GC content in human genomes is usually between 40-60%) and that there are 50k peaks with a GC content of exactly zero. Perhaps there were some issues in calculating GC content in your input peak file? Either way, this is an issue the developers and I will address so that users do not encounter the same error. For now, a quick fix can be to remove the peaks in your dataset with a GC content equal to zero:
Please give this a try and let me know if you still get the same error! |
Removing rows with GC content equal to zero worked! Thanks Nathan.
I am playing with mouse data. The peak file was generated by MACS2. I will have to check with other datasets if this low GC content is an anomaly or not. |
Hi, Thanks for making the tool, Unfortunately I get the same error even when GC content is not equal zero. I should say that the file containing instances of motifs (GRmotif) is NOT a result of footprint calling but of motif scanning with FIMO. But if I understand correctly BiFET should be able to peocess these results as well. Thank you in advance and regards |
Hello,
Thanks for creating BiFET.
After creating the two GRanges objects as specified in the tutorial (only difference being that I used HINT instead of PIQ), I came across this error when running the following command.
I have verified that my inputs look exactly like the inputs GRmotif and GRpeaks provided with the package. The two inputs can be downloaded from this dropbox link.
Any help is greatly appreciated. Thanks!
The text was updated successfully, but these errors were encountered: