Question: sum all but first 500 lines
0
gravatar for Brad Langhorst
4.6 years ago by
United States
Brad Langhorst100 wrote:

I'd like to make a genome coverage distribution plot using the X-Y plotting tool

X = coverage depth

Y = fraction of reads at coverage depth.

I'd like to sum up all the coverage beyond 500X and consider that 500X+ to avoid a very wide X axis.

I can cut off the first 500 lines in galaxy, but I don't see how to retain the remaining lines for me to operate on.

Any ideas?

I could do this with a little script, but I'm wondering about how to do this with the galaxy native tools.

 

 

 

galaxy • 845 views
ADD COMMENTlink modified 4.6 years ago by Bjoern Gruening5.1k • written 4.6 years ago by Brad Langhorst100

Nice! Thanks for sharing!

ADD REPLYlink written 4.6 years ago by Bjoern Gruening5.1k
1
gravatar for Bjoern Gruening
4.6 years ago by
Bjoern Gruening5.1k
Germany
Bjoern Gruening5.1k wrote:

Hi Brad,

the tool "Remove beginning of a file" can remove the first 500 lines for you. Is that what you are searching?

Cheers,

Bjoern

ADD COMMENTlink written 4.6 years ago by Bjoern Gruening5.1k
1

Perfect!

I've published the workflow in case anyone has a similar itch.

ADD REPLYlink written 4.6 years ago by Brad Langhorst100
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 169 users visited in the last hour