Title: Question: Does two reads with opposite strand with same mapping location regarded as duplicates? · Issue #67 · smithlabcode/preseq · GitHub
Open Graph Title: Question: Does two reads with opposite strand with same mapping location regarded as duplicates? · Issue #67 · smithlabcode/preseq
X Title: Question: Does two reads with opposite strand with same mapping location regarded as duplicates? · Issue #67 · smithlabcode/preseq
Description: Hi Andrew, I have a nanopore sequencing library where one molecule could result in reads on both forward or reverse strands. I would like to know if preseq regard these pairs as "distinct" observation, or as "repeated" observation? The d...
Open Graph Description: Hi Andrew, I have a nanopore sequencing library where one molecule could result in reads on both forward or reverse strands. I would like to know if preseq regard these pairs as "distinct" observat...
X Description: Hi Andrew, I have a nanopore sequencing library where one molecule could result in reads on both forward or reverse strands. I would like to know if preseq regard these pairs as "distinct"...
Opengraph URL: https://github.com/smithlabcode/preseq/issues/67
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Question: Does two reads with opposite strand with same mapping location regarded as duplicates?","articleBody":"Hi Andrew, \r\n\r\nI have a nanopore sequencing library where one molecule could result in reads on both forward or reverse strands. I would like to know if preseq regard these pairs as \"distinct\" observation, or as \"repeated\" observation? \r\n\r\nThe definition of \"distinct\" observation is not very clearly stated in the documentation. I was trying to find it in the implementation:\r\n\r\nRelated lines: \r\nhttps://github.com/smithlabcode/preseq/blob/c0fc953764029728d0c1e8fb7b33464b041794c5/src/load_data_for_complexity.cpp#L90\r\nRelated class: [GenomicRegion.hpp](https://github.com/smithlabcode/smithlab_cpp/blob/23c6c50c96fff166477bfd90b3e7e3b10557c14b/GenomicRegion.hpp\r\n)\r\n\r\nIt seems like get_start() is getting the smaller coordinate of a bam read? \r\nIf so, does it mean that both reverse and forward-mapped reads would be seen as the same molecule (same 'start') -- This is the desired behavior in my use case.\r\n\r\nI would love to hear from you! \r\n\r\nThe command I used:\r\n```\r\n./preseq lc_extrap -B -o ./yield-estimates.txt \u003cinput-sorted-bam\u003e\r\n```\r\nSoftware version: \r\nv2.0 downloaded [precompiled binary\r\n](http://smithlabresearch.org/software/preseq/)\r\n\r\nBest, \r\nLi-Ting \r\n\r\n","author":{"url":"https://github.com/zztin","@type":"Person","name":"zztin"},"datePublished":"2023-07-05T09:43:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/67/preseq/issues/67"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:09b8dd6c-c865-205d-896a-50f092062591 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E29E:15F554:218DB8:2B5DA1:698D3605 |
| html-safe-nonce | 72ba2529d3ee3598c70875bd7cb3b53f778e3cee42c865d03e88243dc2ac3d3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjlFOjE1RjU1NDoyMThEQjg6MkI1REExOjY5OEQzNjA1IiwidmlzaXRvcl9pZCI6IjM5NTM4MDIxMjgzMDA3ODMxMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b3365312327a6781d4a1538bd2946f454f4a47dd68dcbb523c806b8801c066ae |
| hovercard-subject-tag | issue:1789178858 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/smithlabcode/preseq/67/issue_layout |
| twitter:image | https://opengraph.githubassets.com/86809fac12bef046bee3edf3fc438b819eb8007e0614cb933b76028bdfce5838/smithlabcode/preseq/issues/67 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/86809fac12bef046bee3edf3fc438b819eb8007e0614cb933b76028bdfce5838/smithlabcode/preseq/issues/67 |
| og:image:alt | Hi Andrew, I have a nanopore sequencing library where one molecule could result in reads on both forward or reverse strands. I would like to know if preseq regard these pairs as "distinct" observat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zztin |
| hostname | github.com |
| expected-hostname | github.com |
| None | 685c54ce10ba532f53d13f7d7048395579317474c9e237f293605dec92d65284 |
| turbo-cache-control | no-preview |
| go-import | github.com/smithlabcode/preseq git https://github.com/smithlabcode/preseq.git |
| octolytics-dimension-user_id | 7265986 |
| octolytics-dimension-user_login | smithlabcode |
| octolytics-dimension-repository_id | 19129917 |
| octolytics-dimension-repository_nwo | smithlabcode/preseq |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 19129917 |
| octolytics-dimension-repository_network_root_nwo | smithlabcode/preseq |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8e173e7f9a7a23f40f2b89fda985ea0b7eb22f63 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width