Open yeroslaviz opened 1 year ago
ok, solved it.
the problem was with my library file listing the guides.
thanks
Getting this error as well -
line 144, in countsScatter
result = axis.scatter(np.log2(data['counts'].loc[:, (condition_x, replicate_x)] + 1),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
@yeroslaviz Could you explain in detail how you solved this - thanks?
I'm sorry I missed the first time-- @yeroslaviz I'm curious to here how you solved this as well. Which library file were you using?
My interpretation of the error message is that something non-finite is being passed to the color parsing in that scatter plot. I'm not able to reproduce this error though. Can you:
Thanks!
Hi Max,
I'm truly sorry it took me almost half a year to respond. Somehow I've missed the two comments to my issue. Now that I got a new data set and encounter again the same error, I came back here to see what I did. 🙈 I must admit, my comments was not really helpful and I apologize for that.
So here is the whole solution:
The error I get when the table with the guides is not correct is shown above. The problem is with the controls guides. I honestly don't know, what exactly is the problem, as the errors are very cryptic, but I was happy to solve it. The table with the guides looked like that originally:
sgID sublibrary gene transcripts sequence
...
3-KO-2 Mouse Ucp3 all XXXXXXXXXXXXXXXXXXX
3-KO-3 Mouse Ucp3 all XXXXXXXXXXXXXXXXXXX
3-KO-4 Mouse Ucp3 all XXXXXXXXXXXXXXXXXXX
Control-KO-1-F Mouse Control-KO-1-F negative_control XXXXXXXXXXXXXXXXXXX
Control-KO-2-F Mouse Control-KO-2-F negative_control XXXXXXXXXXXXXXXXXXX
Control-KO-3-F Mouse Control-KO-3-F negative_control XXXXXXXXXXXXXXXXXXX
Control-KO-4-F Mouse Control-KO-4-F negative_control XXXXXXXXXXXXXXXXXXX
Control-KO-5-F Mouse Control-KO-5-F negative_control XXXXXXXXXXXXXXXXXXX
...
And this cause the error. But, when I change the section of the control guides to this below it works.
sgID sublibrary gene transcripts sequence
3-KO-2 Mouse Ucp3 all XXXXXXXXXXXXXXXXXXX
3-KO-3 Mouse Ucp3 all XXXXXXXXXXXXXXXXXXX
3-KO-4 Mouse Ucp3 all XXXXXXXXXXXXXXXXXXX
Control-KO-1-F Mouse negative_control na XXXXXXXXXXXXXXXXXXX
Control-KO-2-F Mouse negative_control na XXXXXXXXXXXXXXXXXXX
Control-KO-3-F Mouse negative_control na XXXXXXXXXXXXXXXXXXX
Control-KO-4-F Mouse negative_control na XXXXXXXXXXXXXXXXXXX
Control-KO-5-F Mouse negative_control na XXXXXXXXXXXXXXXXXXX
...
I admit, I'm not sure, what the columns 3 and 4 represent in the process. Maybe you can update the instruction (README) so that the user will know what kind of format the input files must be for the scripts to work.
it would be great if you can explain it to me here, what happens in the script that cause such an error.
thanks
@yeroslaviz you may also try this https://github.com/ArcInstitute/ScreenPro2 😋
I just added all features to fully replicate ScreenProcessing pipeline. If you want to use that, I can help (README has some missing information but I can update it asap).
Thanks for that. I'll give it a go as soon as I have some time. Just a question in advance - can I use it in a conda
env?
If I see it correctly, it runs within a python session? (not in bash/shell)
Thanks for that. I'll give it a go as soon as I have some time. Just a question in advance - can I use it in a
conda
env?If I see it correctly, it runs within a python session? (not in bash/shell)
Yeah, ideally you need to install and use it within a conda environment. This file can help you make a suitable environment.
https://github.com/ArcInstitute/ScreenPro2/blob/master/environment.yml
@yeroslaviz you may also try this https://github.com/ArcInstitute/ScreenPro2 😋
I just added all features to fully replicate ScreenProcessing pipeline. If you want to use that, I can help (README has some missing information but I can update it asap).
I also did a recreation of the screen processing pipeline although not sure if everything is production yet. I added a GUI to use the tool but I need to develop it a bit further.
I also did a recreation of the screen processing pipeline although not sure if everything is production yet. I added a GUI to use the tool but I need to develop it a bit further.
Did you do it here or in ScreenPro2?
Hi Max,
I'm getting an error I can't pinpoint, when running the
process_experiments.py
script.I have modified my config file according to my needs, I can see the count files and i can start creating the plots. When running the scripts though, it starts correctly:
but then I get the following error:
It creates the first six plots (00 - 05) but not more.
I don't know if this has something to do with the fact, that in the config file i have this entry for the sgRNA Analysis:
This is because I don't truly have samples with and without the vector, but in a way to different T0 groups I would like to compare the fractions between them. But this is not the main issue, the question is, can the script run with only one of the three parameters given, or do i have a different problem with my data I can't identify?
thanks for the information
Assa