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

goleft depth sliding window analysis #53

Closed
lyy005 opened this issue Dec 6, 2018 · 1 comment
Closed

goleft depth sliding window analysis #53

lyy005 opened this issue Dec 6, 2018 · 1 comment

Comments

@lyy005
Copy link

lyy005 commented Dec 6, 2018

Hi there,
I'm using "goleft depth" for estimating the sequencing depth of sliding window (10 kb window and 2 kb step) on the genome. I tried to use bed file "--bed" with sliding window information, however, the result looks like this:

Scaffold_3 0 10000 1
Scaffold_3 2000 10000 0
Scaffold_3 4000 10000 0
Scaffold_3 6000 10000 0
Scaffold_3 8000 10000 0
Scaffold_3 10000 12000 0
Scaffold_3 10000 14000 0
Scaffold_3 10000 16000 0

So I was wondering if I use the bed file properly. My command is as follows:
goleft_linux64 depth --reference genome.fasta --prefix sample1 sample1_sorted.bam --processes 20 --windowsize 10000 --mincov 0 --bed genome.windows.bed &

Thank you for any advice on this!

YY

@brentp
Copy link
Owner

brentp commented Dec 6, 2018

don't use goleft depth for this. use mosdepth it will be faster and easier to use.

@brentp brentp closed this as completed Dec 6, 2018
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