shahcompbio/scgenome-deprecated

Retrieving pseudobulk data

nhuhoa opened this issue · 0 comments

Dear all,

This is not an issue, I just have a question about downloading data functions.

I use a downloaded function from scgenome readme guide. And this function enable to download all data from a library. However, is there any way to define what kind of input data that we want to download? ex: I just want to download {haplotype, breakpoint, snv, variant}. I dont need alignment, hmmcopy,...I have downloaded these files before. So what did I do is: download all data, then use a shell script to delete entire alignment, hmmcopy folder, and keep only pseudobulk data.

for results in ticket_results:
filepaths = datamanagement.transfer_files.cache_dataset(
tantalus_api,
results['id'],
'resultsdataset',
'singlecellresults',
local_cache_directory,
)

Thanks,
Hoa Tran