-
Notifications
You must be signed in to change notification settings - Fork 169
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
Standardize conversion workflow #369
base: dev
Are you sure you want to change the base?
Conversation
|
only for filtered/unfiltered (i.e. what comes out of the aligner). The rest (e.g. cellbender) should run entirely in h5ad space. |
for type in ['spliced', 'unspliced']: | ||
input_to_adata( | ||
matrix=glob.glob("${inputs}/" + f"{type}*.mtx")[0], | ||
barcodes=glob.glob("${inputs}/" + f"{type}*.barcodes.txt")[0], | ||
features=glob.glob("${inputs}/" + f"{type}*.genes.txt")[0], | ||
output="${meta.id}/${meta.id}_${meta.input_type}" + f"_{type}_matrix.h5ad", | ||
sample="${meta.id}", | ||
t2g="${txp2gene}" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to make a single anndata object and store this information in .layers
.
Co-authored-by: Gregor Sturm <[email protected]>
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 2.14.1. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
Co-authored-by: Gregor Sturm <[email protected]>
Co-authored-by: Gregor Sturm <[email protected]>
Co-authored-by: Gregor Sturm <[email protected]>
Co-authored-by: Gregor Sturm <[email protected]>
Co-authored-by: Gregor Sturm <[email protected]>
Summary
Hi,
This work relates to #310 and discussion that is happening in slack.
Currently, the implementation as been done only for Star aligner so I am opening the PR so we can have a proper discussion and alignment over what the code should look like, before I can apply the same for the other aligners.
PoC overview
TODOs summary
Addressed issues
Close #385
Close #310
Close #370
Close #330