필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Need access to certain fields using BioMap for .bam file reading

조회 수: 1 (최근 30일)
Reut
Reut 2012년 5월 16일
마감: MATLAB Answer Bot 2021년 8월 20일
When reading a .bam file with bamread function, I can get these fields for each read:
MateReferenceIndex - mate reference sequence
InsertSize - insert size of the pair
both of those fields are part of the sam format. However, when I read the .bam file with BioMap (to save time and memory) - I don't have these fields available.
Is there a way to get these fields using BioMap? (I am using R2012a)
  댓글 수: 1
yishaiy
yishaiy 2013년 4월 18일
Hi Reut, Did you find a way for getting fields from BioMap that are not included in the regular format? Yishai

답변 (2개)

Lucio Cetto
Lucio Cetto 2012년 6월 1일
Currently, you'll need to look into the mate, wich you could find using the MatePosition. This is not optimal and would require you to resolve for the right mate, as you know there may be several reads mapped in the sam position as the mate. Lucio
  댓글 수: 2
Reut
Reut 2012년 6월 3일
Hi Lucio,
thank you for the answer, but I am not sure I understand -
How can I look into the mate, if I don't know on which reference sequence (chromosome) it is?
and how do I get the insertSize?
thanks
Reut
yishaiy
yishaiy 2013년 4월 18일
Hi Lucio, Is there a way of getting fields from BioMap that are not included in the regular format? I want to get the "length" field from a SAM file. using BioMap. Yishai

Vamsee
Vamsee 2012년 11월 26일
Hi Reut and Lucio,
Could you clarify if this was resolved / have you found a workaround?
I'm facing the same issue with BioMap - as it's imperative I can MateReference and InsertSize from within BioMap to be able to find translocations between two chromosomes.
Thank you, Vamsee

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by