Excel 工作表做 JOIN

在合并两个Excel工作表时,需求是如果单个位置坐标位于范围坐标内,则将它们合并到同一行。讨论了使用SQL和VBA的解决方案,但建议使用SPL进行更简洁的操作,能快速实现对数千行数据的处理,并生成期望的输出结果。
摘要由CSDN通过智能技术生成

【问题】

I’m working on combining two excel worksheets. Before I start, I’d like to mention that I also have mysql workbench, so I’m open to working on this issue in either sql or vba (I should learn both). I’m working with .bed files, which are lists of genomic coordinates. In short, the data is indexed by chromosome number (ie:chr2) and then has a numerical start and stop location on the chromosome. These numerical locations can span a large range (ie:100-10,000) or be a single position (ie: 999-1000). I have a list of coordinates that cover a large range, and in a separate file I have a list of single positions.

Example of a file with ranges:

chromosome    start   stop
chr1          45616321
chr3          984211253

Example of file with single positions:

chromosome   start   stop
chr1          52135214
chr3          1025410255

I would like to combine these worksheets such that if a location in my list

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值