-
Notifications
You must be signed in to change notification settings - Fork 33
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
Segmentation fault(core dumped) on tissueCut #81
Comments
Hi, could you provide the complete run command and the error message? |
Definitely! Thanks for the timely reply!! singularity exec /home/apps/SAW-6.0.0/SAW_06.0.0.sif tissueCut -i RNAcombine.gef -o ./ --sn FF293712 -O Transcriptomics -d And here is the error message I have no idea how to solve this. Thanks for the help! |
It seems that there is something wrong with your RNAcombine.gef file, or your operation on the gef file is not compatible with our software. It is recommended that you may update SAW to the latest version or try to use the tissue segmentation function of Stereopy |
After careful investigation, I found it is caused by this function, And I manually redo it, here is my code from gefpy.bgef_creater_cy import BgefCreater src_gef_path = "./RNA.raw.combine.gef" bc = BgefCreater() So I guess there is sth wrong with this function in my case https://github.com/BGIResearch/gefpy/blob/main/gefpy/bgef_creater_cy.pyx Still not sure what's going on here. |
Hi, I have checked your command. The reason was that the conversion of .gem to .gef changed the data type of the gene matrix in the .gef, which was different from the SN.raw.gef outputted by SAW pipeline and currently not supported for tissueCut. |
Thanks for your patient reply! So currently is there any way for me to convert my combined gem file to the proper gef file as input to tissueCut? The reason behind this is we have 2 different separate stereo-seq SN.tissue.gem files measured in one tissue section (one is more dense and the other is sparse). We want to do tissue segmentation in an unbiased manner( this is to say, the transcripts located in the more dense one may not contain the transcripts located in the sparse one). |
I'm sorry that I don't have a particularly good method. When due with Similar problems in the past, we used h5py to modify the data type of the matrix but only got a tif image of tissue segmentation. |
Got it! Thanks for your reply! Let's see how the Stereopy developer replies to this issue. |
Hi, I'm using tissueCut to cut my own gef file, however, every time I try
singularity exec /home/apps/SAW-6.0.0/SAW_06.0.0.sif tissueCut
it always returns
/usr/local/bin/tissueCut: line 1: 139646 Segmentation fault (core dumped) python3 /opt/saw_v6.0.0_software/pipeline/tissueCut/Tissuecut.pyc $*
I've no idea about this issue, this gef is 11G in size and my device has at least 200G mem to use.
Thanks for your timely reply!
The text was updated successfully, but these errors were encountered: