Open chenxing-zhang opened 2 months ago
BEDs are line-orient files, you can use the cat command.
chenxing-zhang @.***> writes:
I run flair-correct for each samples and then obtain corrected.bed for each samples. Before i run flair-collapse, i notice that "If there are multiple samples to be compared, the flair-corrected read bed files should be concatenated prior to running flair-collapse." How to concatenate bed files before flair collapse?
-- Reply to this email directly or view it on GitHub: https://github.com/BrooksLabUCSC/flair/issues/332 You are receiving this because you are subscribed to this thread.
Message ID: @.***>
Thanks. The following code is what I used, share it with others:
cat <list of corrected.bed>| sort -k1,1 -k2,2n -k3,3n > concatenated_corrected.bed
I run flair-correct for each samples and then obtain corrected.bed for each samples. Before i run flair-collapse, i notice that "If there are multiple samples to be compared, the flair-corrected read bed files should be concatenated prior to running flair-collapse." How to concatenate bed files before flair collapse?