Skip to content

Prepend chromosomes with chr to match the SAM/BAM files.#132

Open
roryk wants to merge 1 commit intoClinical-Genomics:mainfrom
roryk:master
Open

Prepend chromosomes with chr to match the SAM/BAM files.#132
roryk wants to merge 1 commit intoClinical-Genomics:mainfrom
roryk:master

Conversation

@roryk
Copy link

@roryk roryk commented Apr 24, 2015

Hi Robin,

The demo was failing because the chromosome names didn't match up with the alignment files. This fixes that. Hope you are well.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 74.74% when pulling c876323 on roryk:master into b8c3762 on robinandeer:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 74.82% when pulling 09f4504 on roryk:master into b8c3762 on robinandeer:master.

@roryk
Copy link
Author

roryk commented Apr 24, 2015

Sorry, I'm terrible and added a separate commit on to this cosmetic one. If you like one and not the other feel free to ignore one of them.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This leading "chr" must be a mistake, right? 😃

@robinandeer
Copy link
Contributor

Thanks a lot @roryk - good catch!

I'll be happy to test the PR locally after you've made the few suggested changes

If you have time you could also update the __init__.py imports to make it easier to import the new apply_bed_stream.

apply_bed_stream takes a function and a BED stream
applies the function to every interval in the BED stream

Also fixes the test BED file not having chr prepended
to the chromosome.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.08%) to 74.82% when pulling 808a533 on roryk:master into 80d377f on robinandeer:master.

@robinandeer
Copy link
Contributor

Superb Rory!

Very nice touch with the rebase - I should keep learning more about how to do that

And I wonder what it say of me if I'm blushing a little reading you last comment? 😅 Thanks!

@robinandeer robinandeer added this to the 2.4.0 milestone Apr 29, 2015
@robinandeer robinandeer removed this from the 2.4.0 milestone Nov 9, 2015
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

Successfully merging this pull request may close these issues.

3 participants