Skip to content

Running "Peak_input_normalization_wrapper.pl" takes a long time #95

Open

Description

@amdreamer

After calling peaks using clipper, I got ~180,000 peaks in eCLIP group and ~65,000 peaks in SMInput group. Then I used Peak_input_normalization_wrapper.pl to get normalized peaks. However, the program is running over 48 hours without any error or warnning. Is it a time-consuming scripts? Can I speed it up? Thanks for your opinion!

Activity

  1. byee4 commented on Apr 13, 2021

    @byee4
    Member

    You'll want to refer to the eCLIP repository for current/future analysis:

    https://github.com/YeoLab/eclip

    The wrapper basically runs the following two scripts to provide input-normalized peaks. If you're having trouble with the wrapper, I would suggest running these one after the other:

    https://github.com/YeoLab/eclip/blob/master/bin/overlap_peakfi_with_bam.pl

    Usage:

    samtools view -cF 4 CLIP_pcr_deduped.bam > CLIP_mapped_readnum.txt
    samtools view -cF 4 SMINPUT_pcr_deduped.bam > SMINPUT_mapped_readnum.txt
    
    perl overlap_peakfi_with_bam.pl \
    CLIP_pcr_deduped.bam \
    SMINPUT_pcr_deduped.bam \
    CLIP_clipper_clusters.bed \
    CLIP_mapped_readnum.txt \
    SMINPUT_mapped_readnum.txt \
    output_normalized_peaks.bed
    

    https://github.com/YeoLab/eclip/blob/master/bin/compress_l2foldenrpeakfi_for_replicate_overlapping_bedformat.pl

    perl compress_l2foldenrpeakfi_for_replicate_overlapping_bedformat.pl \
    output_normalized_peaks.bed
    output_normalized_peaks.compressed.bed
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions