Open animesh opened 1 year ago
The rule that failed involves a custom script to gather the results of quantification.
Could you please attach ../results/final/gene_reference_quant.tpms.log
?
Yes of course, below is the content?
scripts/SummarizeQuantTab.py:15: DeprecationWarning: elementwise comparison failed; this will raise an error in the future.
elif all(np.array(currIds) != ids): print("error with ids")
reading TK12_R1.fq.gene.quant_ref.tab
reading TK12_R2.fq.gene.quant_ref.tab
Traceback (most recent call last):
File "scripts/SummarizeQuantTab.py", line 15, in <module>
elif all(np.array(currIds) != ids): print("error with ids")
TypeError: 'bool' object is not iterable
./seqRNA/final/gene_reference_quant.tpms.log (END)
Do you still have the files TK12_R1.fq.gene.quant_ref.tab
and TK12_R2.fq.gene.quant_ref.tab
? I wonder if they're empty.
I think this may fix the error, but if the files are empty, I'm not sure that pipeline will yield much, and there may be more issues downstream. https://github.com/smith-chem-wisc/Spritz/pull/238
They do have about 60K lines
(base) ash022@DMED7596:~/f/TK$ wc ./seqRNA/isoforms/TK12_R1_quant_ref/TK12_R1.fq.gene.quant_ref.tab
60633 545699 4172198 ./seqRNA/isoforms/TK12_R1_quant_ref/TK12_R1.fq.gene.quant_ref.tab
(base) ash022@DMED7596:~/f/TK$ wc ./seqRNA/isoforms/TK12_R2_quant_ref/TK12_R2.fq.gene.quant_ref.tab
60635 545717 4160498 ./seqRNA/isoforms/TK12_R2_quant_ref/TK12_R2.fq.gene.quant_ref.tab
not sure what are those extra 2 lines in R2 though?
That is strange! They seem pretty similar, though, and might be usable. I'd suggest running the other workflows (variant & isoform) to let them finish, and then work on analysis using those two quantification files.
Please let me know if you figure out what the difference is if you figure it out. I have very limited time for this project, so I'll leave it there for now. If it makes your downstream analysis impossible, I'd be happy to try to help some more.
is there some documentation to follow so that i can run this all on a linux cluster without docker but singularity?
Hi @animesh, Spritz doesn't have singularity capabilities yet. That'd be a welcome pull request if you know how to do it.
The way I've run it on the cluster is just to use Snakemake without containers, for which you can find instructions here, https://github.com/smith-chem-wisc/Spritz/wiki/Spritz-commandline-usage#spritz-commandline-usage.
Hi, i am having a similar issue when running Spritz from the command line. I see that there is a branch and pull request for a fix at #238 and i was wondering if this can be used as a fix because it has not yet been merged to main.
I merged it and made a new release. Let's see if that fixes the issue. 👍🏼
Well, that didn't work. I'll get the release working by the end of the day and update you.
The new release is available now. (The issues were just version checking.)
Thank you so much! I will try this tomorrow in the morning and let you know :) I also didn't mean to make you do the merge, i was just wondering if i can checkout that branch and use the fix or if something on that branch was still missing. But this is even better
Did the fix work for you?
Hey, sorry for taking so long to get back to you. We had some other stuff coming up in the lab and i didn't have time to check any further... Unfortunately it didn't fix the issue, but it might be an error on our side since we have a bit of trouble with the computer that we are testing this on. I will let you know if i make any progress on this. Sorry for leaving you hanging for so long.
I am trying to use the beta functions
but facing this error (log below), any ideas how to proceed?