-
Notifications
You must be signed in to change notification settings - Fork 29
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
No ensembl.tsv in the utils folder #2
Comments
Sorry,I met the same question.I don't know if you've solved the problem. @JiawenChenn |
it seems that the file can be download from https://www.genenames.org/download/custom/ if you have a look at ensembl.py @JiawenChenn But i have got another problem. |
@jiangdydy Have you resolve the concatenate error? |
@jiangdydy Have you resolve the concatenate error? I have the same problem. |
I have the same problem
|
Thanks @jiangdydy a lot, |
兄弟们,要不要加个微信,讨论怎么复现代码? |
Thanks @jiangdydy . |
Probably because the data is empty? |
@jiayiwus1x it is because in the load_raw function located in stnet > cmd > prepare > spatial.py, where the variable "images" is initialized, it is trying to match a file structure that they didn't give us. I assume in the version they were using, the data was structured into folders by patient. @chenyang1999 seems to have a fix here: #4, however, I just modified the spatial.py script to change the location it tries to match instead of the file structure. However, even after that fix, I and others are having the issue where there is a file called "_Coords.tsv" missing. Good luck! |
我不是很关心癌症具体的位置,我只是想预测空间转录组基因表达,所以去掉这tumor部分的预测就行了 |
@chenyang1999 Where do you remove the tumor prediction part? It seems to be fairly embedded in several parts within the processing script. |
Have the same ValueError: need at least one array to concatenate error as above. May I know is there any solution for it? @jiangdydy @engrodawood @mjt-zdz @JiawenChenn @jiayiwus1x @andrewbrown1022 |
Hi Bryan,
I am trying to run the code. I download the stent folder and put it into /lib/python3.6/site-packages/ . And I also downloaded the whole folder and run the setup.py to set up the environment. I downloaded the data from https://data.mendeley.com/datasets/29ntw7sh4r/2 which is the breast cancer data. I put the stent.cfg file in my test folder and run python3 -m stnet prepare spatial from the test folder but it shows the following error:
My cfg file looks like this:
SPATIAL_RAW_ROOT = "test folder"/input
SPATIAL_PROCESSED_ROOT = "test folder"/input-patch
And the data in the input folder is BC23209_C1_stdata.tsv HE_BC23209_C1.jpg spots_BC23209_C1.csv.
I am new to python so maybe my question is silly. It would be super helpful if you can tell me where I am wrong. Thanks!
Jiawen
The text was updated successfully, but these errors were encountered: