Skip to content
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

mutli samples #9

Open
wangjiawen2013 opened this issue Oct 15, 2018 · 3 comments
Open

mutli samples #9

wangjiawen2013 opened this issue Oct 15, 2018 · 3 comments

Comments

@wangjiawen2013
Copy link

Dear,
Does velocyto support mutli samples ? I have nine 10x samples (nine .bam files) at different development stage, could I run them together with veloctyo ?

@pkharchenko
Copy link
Contributor

pkharchenko commented Oct 15, 2018 via email

@EularTang
Copy link

Merging multiple samples/lanes in a single file
The merging of different samples/lanes in the same loom file can be performed simply using the loompy library. This is usually just a single line:

loompy.combine(files, output_filename, key="Accession")
or if you want more control on the exact memory that is allocated or subset your data before merging you can do something like:

files = ["file1.loom","file2.loom","file3.loom","file4.loom"]

on the command line do: cp file1.loom merged.loom

ds = loompy.connect("merged.loom")
for fn in files[1:]:
ds.add_loom(fn, batch_size=1000)

@wangjiawen2013
Copy link
Author

When combining data from multiple 10x genomics libraries, cellranger recommend equalizing the read depth between libraries before merging, to reduce the batch effect introduced by sequencing, the command is "cellranger aggr --nomalize=mapped". Will velocyto equalize the read depth per cell per sample when merging mutliple samples ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants