Question: Generate coordinates of specific length between two BED features
0
gravatar for Luca Beltrame
10 weeks ago by
Luca Beltrame220
IRCCS Istituto di Ricerche Farmacologiche "Mario Negri", Milano, Italy
Luca Beltrame220 wrote:

Hello,

as part of creating a custom library capture kit, I want to expand an existing design, which is provided to me as a single BED file. The coordinates for the existing design are spaced from 50kbp to 300kbp each, and the features are around 100bp each.

What I'd like to do is to:

  1. Get the middle point between two features (as in coordinates)
  2. Add a new feature with 150bp length at that coordinate

Is there an "easy way" to do that, or do I have to calculate the midpoint for each coordinate manually?

bed bedtools • 69 views
ADD COMMENTlink written 10 weeks ago by Luca Beltrame220
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 2.3.0
Traffic: 1347 users visited in the last hour