theislab / sfaira_tutorials

BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

sfaira cannot load as there is no `donor1.annotation.txt` #2

Open OrcunSamiTandogan opened 2 years ago

OrcunSamiTandogan commented 2 years ago

When I run dss.download()

I get this error: /mnt/4AB6E404B6E3EE7F/Users/Ubuntu_2/Anaconda_3/envs/test_env17/lib/python3.8/site-packages/sfaira/data/dataloaders/base/dataset.py:286: UserWarning: Dataset human_blood_2019_10x3transcriptionprofiling_szabo_013_10.1038/s41467-019-12464-3 is not available for automatic download, please manually copy the file donor1.annotation.txt to the following location: /mnt/4AB6E404B6E3EE7F/Users/Asus/Desktop/Storage_Ubuntu/data_repo/raw/d10_1038_s41467_019_12464_3

I don`t know where is that donor1.annotation.txt. I searched that in folders, but there is none. Before the dss.download, full script is here:

` import sfaira import os

. # Set this path to your local sfaira data repository basedir = '/mnt/4AB6E404B6E3EE7F/Users/Asus/Desktop/Storage_Ubuntu/data_repo' os.chdir(basedir) os.getcwd()

datadir = os.path.join(basedir, 'raw') metadir = os.path.join(basedir, 'meta') cachedir = os.path.join(basedir, 'cache')

.# Here we choose human eye: .# The DatasetGroupPancreas contains instances of Dataset which correspond to individual data sets. dss = sfaira.data.Universe(data_path=datadir, meta_path=metadir, cache_path=cachedir) # This links all data sets available dss.subset(key="organism", values=["human"]) # Subset to all human datasets dss.show_summary() dss.subset(key="organ", values=["blood"]) # Subset further to blood

`

davidsebfischer commented 2 years ago

Hi @e253503, unfortunately, this is a non-public meta data file that was not published by the authors, you will need to email the authors of the study that published the data set and ask them for this file if you want to use this data set (if not, just counterselect it before running download or load).