You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I had thought our solution above balanced the two sets of use cases, but maybe not.
Just so I am understanding correctly -- are you moving your outs/ directories somewhere else and then renaming them directly as the sample IDs? Would it not be simpler (and safer to avoid errors) to keep / copy the whole tree starting from the sample ID (and then deleting all the other stuff alongside outs/ in the directory)?
I'm trying to think if there is an additional simple check we could do for this file setup. I would like to avoid requiring all users to add outs/ manually in their paths since this makes things complicated for beginners who may not know anything about this outs/ directory or the general directory structure.
How do you do it in DropletUtilsread10xCounts()? (I think require the entire directory tree including outs/filtered_feature_bc_matrix/?) Maybe in the end this is the only completely unambiguous way to do it, although it does require assuming more user knowledge (although maybe this is ok).
Maybe we can think about switching the read10xVisium into the TENxIO package, it could be safer for the import of the data and lightens our package from dependencies.
Just so I am understanding correctly -- are you moving your outs/ directories somewhere else and then renaming them directly as the sample IDs?
Yes. The final name is arbitrary but will not end with outs.
Would it not be simpler (and safer to avoid errors) to keep / copy the whole tree starting from the sample ID (and then deleting all the other stuff alongside outs/ in the directory)?
I doubt it. My approach is this:
mv sample/outs/ somewhere_else/
rm -r sample/
Doesn't get much simpler or safer than that.
How do you do it in DropletUtilsread10xCounts()? (I think require the entire directory tree including outs/filtered_feature_bc_matrix/?)
Yes.
Maybe in the end this is the only completely unambiguous way to do it, although it does require assuming more user knowledge (although maybe this is ok).
Unfortunately, you've painted yourself into a corner with your initial decision to "make things easier for users".
The only real way out is what I proposed in #76, which preserves back-compatibility for existing users via samples= while allowing exact specification of the path via dirs=.
Activity
lmweber commentedon Nov 3, 2022
Hmm, I had thought our solution above balanced the two sets of use cases, but maybe not.
Just so I am understanding correctly -- are you moving your
outs/directories somewhere else and then renaming them directly as the sample IDs? Would it not be simpler (and safer to avoid errors) to keep / copy the whole tree starting from the sample ID (and then deleting all the other stuff alongsideouts/in the directory)?I'm trying to think if there is an additional simple check we could do for this file setup. I would like to avoid requiring all users to add
outs/manually in their paths since this makes things complicated for beginners who may not know anything about thisouts/directory or the general directory structure.How do you do it in
DropletUtilsread10xCounts()? (I think require the entire directory tree includingouts/filtered_feature_bc_matrix/?) Maybe in the end this is the only completely unambiguous way to do it, although it does require assuming more user knowledge (although maybe this is ok).drighelli commentedon Nov 4, 2022
Maybe we can think about switching the
read10xVisiuminto theTENxIOpackage, it could be safer for the import of the data and lightens our package from dependencies.LTLA commentedon Nov 4, 2022
Yes. The final name is arbitrary but will not end with
outs.I doubt it. My approach is this:
Doesn't get much simpler or safer than that.
Yes.
Unfortunately, you've painted yourself into a corner with your initial decision to "make things easier for users".
The only real way out is what I proposed in #76, which preserves back-compatibility for existing users via
samples=while allowing exact specification of the path viadirs=.