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

Changing window size #1

Closed
NicoleGruenheit opened this issue Aug 4, 2020 · 6 comments
Closed

Changing window size #1

NicoleGruenheit opened this issue Aug 4, 2020 · 6 comments

Comments

@NicoleGruenheit
Copy link

Hi,

I tested the accucopy docker with a dataset of 100 samples, but no breakpoints were found for 80 of those. So I tried to use a different window size but it seems that somewhere the window size is hard coded as it tries to find the file 'chr22.ratio.w500.csv.gz' in the next step no matter what the actual window size is. Of course, this file does not exist as for a window size of 250 it's actually 'chr22.ratio.w250.csv.gz' and the computation fails. Is it possible to fix this? Is there anything else i could try to get a Tumor purity value for those 80 samples?

Cheers,
Nicole

@polyactis
Copy link
Owner

polyactis commented Aug 5, 2020 via email

@polyactis
Copy link
Owner

polyactis commented Aug 5, 2020 via email

@polyactis
Copy link
Owner

Hi Nicole,

One issue we noticed with other users is that their bam files were not aligned with our reference genome. Mostly this is fine as long as it's the same version. However, when the order of chromosomes in the bam header (i.e. chrM is the first entry instead of chr1 in one user's case) differs from the order in our files (.dict), then problems arise. You can give the bam a new header.

We are working to see if we can resolve it in the code.

@polyactis
Copy link
Owner

We have released a new docker version of Accucopy that solved the different-order-of-chromosomes bug. You can try it https://hub.docker.com/r/polyactis/accucopy .

But if your bam files use a ref genome that is quite different from the ones provided by us. I recommend you to create a new reference genome folder, https://www.yfish.org/display/PUB/Accucopy#Accucopy-3.7Makeyourownreferencegenomepackage.

@NicoleGruenheit
Copy link
Author

Hi Yu,

thanks for the incredibly fast reply. Just using the new docker didn't help but I'll try your other suggestions and will come back to you ASAP.

Cheers,
Nicole

@polyactis
Copy link
Owner

Patched. Accucopy can now handle different window sizes.

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

2 participants