I have a set of fragment files with a matching set of whitelisted barcodes files (the whitelisting was done via other means) which I would like to import with snap.pp.import_data(). However, while the fragment_file and file parameters of the function accept lists of file locations as input the whitelist parameter does not.
Would it be possible to add that functionality?
Would you recommend using a for loop to add the whitelisted barcodes for each sample in the snap.pp.import_data() function or would it be preferable to ignore the whitelist parameter and filter out cells after generating the list of anndata objects?
I have over 100 samples, so I am looking for computational efficacy but I am a novice at python coding and have never used Rust.
Thank you for developing this tool.
SnapATAC2 version: 2.5.3
I have a set of fragment files with a matching set of whitelisted barcodes files (the whitelisting was done via other means) which I would like to import with
snap.pp.import_data()
. However, while thefragment_file
andfile
parameters of the function accept lists of file locations as input thewhitelist
parameter does not.Would it be possible to add that functionality?
Would you recommend using a for loop to add the whitelisted barcodes for each sample in the
snap.pp.import_data()
function or would it be preferable to ignore the whitelist parameter and filter out cells after generating the list of anndata objects? I have over 100 samples, so I am looking for computational efficacy but I am a novice at python coding and have never used Rust.Thank you very much.