liftOver narrowPeak file
I am wondering how you can use liftOver to convert mm10 narrowPeak files back to mm9? Thanks.
• 4,054 views
•
link
1 answer
I just stumbled upon this problem, and it turns out the solution is very easy:
liftOver \
-bedPlus=6 \
sample.narrowPeak.gz \
mm10Tomm9.over.chain.gz \
sample.lifted.narrowPeak \
sample.unmapped.narrowPeak
The important line here is -bedPlus=6. This will treat only the first 6 columns in your input file as a BED file. The rest of the columns will just be "carried along for the ride".
• 0 views
•
link
Log in to answer this question.
Just curious if you've ever figured this out. I'm wondering the same for GRCh38-mapped narrowPeak files to hg19. I suspect getting rid of the offending columns is not advisable.
Just curious have you figured this out?