Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Shl edit samrecord docs #782
Conversation
|
The commit with comments contain the actual documentation updates. The later commit (with no comments, sorry about that) just formats line spacing. Newbie here so please forgive. |
vdauwera
self-requested a review
Jan 10, 2017
vdauwera
self-assigned this
Jan 10, 2017
vdauwera
reviewed
Jan 10, 2017
The rephrasing looks good to me, much clearer. Regarding the formatting, I'm not sure but I thought the the "If no position" bit should remain on the same line to be parsed correctly by the javadoc system as being part of the @return element. @lbergelson can you advise?
codecov-io
commented
Jan 10, 2017
•
Current coverage is 63.87% (diff: 100%)@@ master #782 diff @@
==========================================
Files 527 523 -4
Lines 31741 31642 -99
Methods 0 0
Messages 0 0
Branches 6788 6766 -22
==========================================
- Hits 20263 20212 -51
+ Misses 9335 9294 -41
+ Partials 2143 2136 -7
|
|
I am confused by the second line in each (singly mapped pair). I am not sure about the need for this change, but if you are adamant, then how about: |
|
@nh13, I believe the top of the SAMRecord doc talks about the types of unmapped reads that the GATK documentation refer to as part of a singly mapping pair here. I don't think the SAMRecord doc means to imply any unmapped read. My conclusion is that it must refer to those with coordinates within the SAM record but with Please correct if I'm mistaken. If you feel strongly about merging the two sentences, and keeping it simple, then I can do:
|
julianhess
commented
Jan 10, 2017
•
|
It will return 0 for a totally unmapped read — it simply regurgitates what was present in the alignment record (e.g. see SAM decoding source here). Assuming the alignment conforms to SAM spec, a totally unmapped read will have |
|
@vdauwera The newlines don't make any difference to the doc output. |
|
@sooheelee let me know when you make the change and I can look again. |
|
@nh13 Now reads "1-based inclusive leftmost position of the sequence remaining after clipping, or 0 if there is no position, e.g. for unmapped read." |
|
Thanks for the feedback @julianhess @nh13 |
|
Sounds like we have |
lbergelson
merged commit e015d1e
into
samtools:master
Jan 20, 2017
|
Congrats @sooheelee on your first htsjdk commit! |
|
Thank you @lbergelson! |
sooheelee commentedJan 10, 2017
Clarify SAMRecord documentation so that users are not confused by thinking the opposite of what is meant.