Closed Hdang1234 closed 4 years ago
The shiftGAlignmentsList is designed for proper mapped paired end reads. I suppose that there is mpos in the metadata. This is the reason. Do you set asMates=TRUE for readBamFile?
Yes, I did. I wonder if it’s the samtools fixmate function that causes this problem. Thanks for getting back so fast.
Do you mind to share me the files and scripts to repeat the error? I can fix the issue in my side.
Best!
Your sincerely,
Jianhong Ou
On Feb 26, 2020, at 9:12 AM, Hdang1234 notifications@github.com wrote:
Yes, I did. I wonder if it’s the samtools fixmate function that causes this problem. Thanks for getting back so fast.
From: JIANHONG OU notifications@github.com Sent: 26 February, 2020 08:42 AM To: jianhong/ATACseqQC ATACseqQC@noreply.github.com Cc: Hien Dang Hien.Dang@jefferson.edu; Author author@noreply.github.com Subject: Re: [jianhong/ATACseqQC] shiftGAlignmentsList after samtools fixmate error (#22)
WARNING: External Email - This email originated outside of Jefferson. DO NOT CLICK links or attachments unless you recognize the sender and are expecting the email.
The shiftGAlignmentsList is designed for proper mapped paired end reads. I suppose that there is mpos in the metadata. This is the reason. Do you set asMates=TRUE for readBamFile?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjianhong%2FATACseqQC%2Fissues%2F22%3Femail_source%3Dnotifications%26email_token%3DAOVASXQ45RDZXTL66MQRAZ3REZWT3A5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENAIRMY%23issuecomment-591431859&data=02%7C01%7Chien.dang%40jefferson.edu%7C986cdd243605449aceb608d7bac1b51e%7C55a89906c710436bbc444c590cb67c4a%7C0%7C1%7C637183213445118514&sdata=ghGkaEpl0aP9eVwS2rdcNjed0%2FScg%2Fvs6x11gQbXa6Y%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOVASXUBINUKTIUKBE6H7H3REZWT3ANCNFSM4K3UZ4PA&data=02%7C01%7Chien.dang%40jefferson.edu%7C986cdd243605449aceb608d7bac1b51e%7C55a89906c710436bbc444c590cb67c4a%7C0%7C1%7C637183213445118514&sdata=WyzOJkHANzORv4Ixdhld5PHWobjiflt%2FR4vQkLE6Fg0%3D&reserved=0.
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
Not sure how to share the big bam files, suggestions?
Could you try to subset the bam file to a small one and share it to by CyVerse, see documentation at https://genome.ucsc.edu/goldenpath/help/hgTrackHubHelp.html#Hosting Thank you.
On Wed, Feb 26, 2020 at 10:44 AM Hdang1234 notifications@github.com wrote:
sorting the BAM file.docx https://github.com/jianhong/ATACseqQC/files/4256686/sorting.the.BAM.file.docx
Not sure how to share the big bam files, suggestions?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA4YGA72HCUE6I3I3PTRE2E4TA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENAXPLQ#issuecomment-591493038, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLBEAYT7FKDGELT5QZ4GMTRE2E4TANCNFSM4K3UZ4PA .
-- Yours sincerely, Jianhong Ou
Hi Jianhong,
I have shared the data with you. Thanks for your help.
I can not locate the shared file. Could you share it again?
Jianhong.
On Mon, Mar 2, 2020 at 2:16 PM Hdang1234 notifications@github.com wrote:
Hi Jianhong,
I have shared the data with you. Thanks for your help.
From: JIANHONG OU notifications@github.com Sent: 26 February, 2020 11:05 AM To: jianhong/ATACseqQC ATACseqQC@noreply.github.com Cc: Hien Dang Hien.Dang@jefferson.edu; Author author@noreply.github.com
Subject: Re: [jianhong/ATACseqQC] shiftGAlignmentsList after samtools fixmate error (#22)
WARNING: External Email - This email originated outside of Jefferson. DO NOT CLICK links or attachments unless you recognize the sender and are expecting the email.
Could you try to subset the bam file to a small one and share it to by CyVerse, see documentation at https://genome.ucsc.edu/goldenpath/help/hgTrackHubHelp.html#Hosting Thank you.
On Wed, Feb 26, 2020 at 10:44 AM Hdang1234 <notifications@github.com mailto:notifications@github.com> wrote:
sorting the BAM file.docx < https://github.com/jianhong/ATACseqQC/files/4256686/sorting.the.BAM.file.docx>
Not sure how to share the big bam files, suggestions?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA4YGA72HCUE6I3I3PTRE2E4TA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENAXPLQ#issuecomment-591493038>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABLBEAYT7FKDGELT5QZ4GMTRE2E4TANCNFSM4K3UZ4PA>
.
-- Yours sincerely, Jianhong Ou
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjianhong%2FATACseqQC%2Fissues%2F22%3Femail_source%3Dnotifications%26email_token%3DAOVASXRXHPCME7XMK33LCWTRE2HMFA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENA2MUA%23issuecomment-591504976&data=02%7C01%7Chien.dang%40jefferson.edu%7Ca1f91e7940e44084232508d7bad5b8f3%7C55a89906c710436bbc444c590cb67c4a%7C0%7C1%7C637183299407550188&sdata=oMVAbXQ03E%2Bfb0qGx76g1huYQ9gRt8gWXJ0PiZFf%2BWk%3D&reserved=0>, or unsubscribe< https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOVASXSNENEGIZEHUIW23Y3RE2HMFANCNFSM4K3UZ4PA&data=02%7C01%7Chien.dang%40jefferson.edu%7Ca1f91e7940e44084232508d7bad5b8f3%7C55a89906c710436bbc444c590cb67c4a%7C0%7C1%7C637183299407560182&sdata=%2BaqQrvfhWMLGLjgww0QC5jits1NNYrnsISzZujY72MU%3D&reserved=0>.
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA7SDEINGKQK77Q2RHDRFQA2LA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENQSRJI#issuecomment-593569957, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLBEA2WJWPG52Z443DCKL3RFQA2LANCNFSM4K3UZ4PA .
-- Yours sincerely, Jianhong Ou
I have shared it. Thanks
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
Thank you. I see the files. will keep you updated.
Jianhong.
On Thu, Mar 5, 2020 at 7:03 PM Hdang1234 notifications@github.com wrote:
I have shared it. Thanks
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA7IGN57EARDIJY5KI3RGA4T3A5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7KSAQ#issuecomment-595503362, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLBEAYS6USUMDM6RKTIY5DRGA4T3ANCNFSM4K3UZ4PA .
-- Yours sincerely, Jianhong Ou
Hi Dang,
I got the problem. The issue is your bam file only contain reads in chr22. But you are checking the quality for chr1 and chr2. So there is no reads can be read into the function. Please try to change:
which <- gr[seqnames(gr) %in% c("chr1", "chr2")]
To: which <- gr[seqnames(gr) %in% c("22")]
I am updating the package to show an clear error when this happens.
Good Luck.
Jianhong.
On Fri, Mar 6, 2020 at 11:16 AM jianhong ou jianhong.ou@gmail.com wrote:
Thank you. I see the files. will keep you updated.
Jianhong.
On Thu, Mar 5, 2020 at 7:03 PM Hdang1234 notifications@github.com wrote:
I have shared it. Thanks
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA7IGN57EARDIJY5KI3RGA4T3A5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7KSAQ#issuecomment-595503362, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLBEAYS6USUMDM6RKTIY5DRGA4T3ANCNFSM4K3UZ4PA .
-- Yours sincerely, Jianhong Ou
-- Yours sincerely, Jianhong Ou
Oh - I ran the whole bam file before and got the same issue.
Sent from my iPhone
On Mar 6, 2020, at 11:49 AM, JIANHONG OU notifications@github.com wrote:
WARNING: External Email - This email originated outside of Jefferson. DO NOT CLICK links or attachments unless you recognize the sender and are expecting the email.
Hi Dang,
I got the problem. The issue is your bam file only contain reads in chr22. But you are checking the quality for chr1 and chr2. So there is no reads can be read into the function. Please try to change:
which <- gr[seqnames(gr) %in% c("chr1", "chr2")]
To: which <- gr[seqnames(gr) %in% c("22")]
I am updating the package to show an clear error when this happens.
Good Luck.
Jianhong.
On Fri, Mar 6, 2020 at 11:16 AM jianhong ou jianhong.ou@gmail.com wrote:
Thank you. I see the files. will keep you updated.
Jianhong.
On Thu, Mar 5, 2020 at 7:03 PM Hdang1234 notifications@github.com wrote:
I have shared it. Thanks
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA7IGN57EARDIJY5KI3RGA4T3A5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7KSAQ#issuecomment-595503362, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLBEAYS6USUMDM6RKTIY5DRGA4T3ANCNFSM4K3UZ4PA .
-- Yours sincerely, Jianhong Ou
-- Yours sincerely, Jianhong Ou
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjianhong%2FATACseqQC%2Fissues%2F22%3Femail_source%3Dnotifications%26email_token%3DAOVASXUAHMQBOWKDTU665ZTRGESRXA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCBC5A%23issuecomment-595857780&data=02%7C01%7Chien.dang%40jefferson.edu%7C8abb60e8bd78456bf09608d7c1ee63fc%7C55a89906c710436bbc444c590cb67c4a%7C0%7C0%7C637191101937103492&sdata=cH2AxUTL3Jlz%2BdAjRywL45J3DR%2BVq%2FEJMmNtWHWH1v0%3D&reserved=0, or unsubscribehttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOVASXU4CV53MD72DDMFZGLRGESRXANCNFSM4K3UZ4PA&data=02%7C01%7Chien.dang%40jefferson.edu%7C8abb60e8bd78456bf09608d7c1ee63fc%7C55a89906c710436bbc444c590cb67c4a%7C0%7C0%7C637191101937103492&sdata=pd2cKMB4mGlXfaV%2Bg4J5vKWrywoe8fW1gws1PSprrPo%3D&reserved=0.
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
Just try the new code for chr22 and let me know if there are any issues.
On Fri, Mar 6, 2020 at 11:57 AM Hdang1234 notifications@github.com wrote:
Oh - I ran the whole bam file before and got the same issue.
Sent from my iPhone
On Mar 6, 2020, at 11:49 AM, JIANHONG OU notifications@github.com wrote:
WARNING: External Email - This email originated outside of Jefferson. DO NOT CLICK links or attachments unless you recognize the sender and are expecting the email.
Hi Dang,
I got the problem. The issue is your bam file only contain reads in chr22. But you are checking the quality for chr1 and chr2. So there is no reads can be read into the function. Please try to change:
which <- gr[seqnames(gr) %in% c("chr1", "chr2")]
To: which <- gr[seqnames(gr) %in% c("22")]
I am updating the package to show an clear error when this happens.
Good Luck.
Jianhong.
On Fri, Mar 6, 2020 at 11:16 AM jianhong ou jianhong.ou@gmail.com wrote:
Thank you. I see the files. will keep you updated.
Jianhong.
On Thu, Mar 5, 2020 at 7:03 PM Hdang1234 notifications@github.com wrote:
I have shared it. Thanks
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA7IGN57EARDIJY5KI3RGA4T3A5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7KSAQ#issuecomment-595503362>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABLBEAYS6USUMDM6RKTIY5DRGA4T3ANCNFSM4K3UZ4PA>
.
-- Yours sincerely, Jianhong Ou
-- Yours sincerely, Jianhong Ou
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjianhong%2FATACseqQC%2Fissues%2F22%3Femail_source%3Dnotifications%26email_token%3DAOVASXUAHMQBOWKDTU665ZTRGESRXA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCBC5A%23issuecomment-595857780&data=02%7C01%7Chien.dang%40jefferson.edu%7C8abb60e8bd78456bf09608d7c1ee63fc%7C55a89906c710436bbc444c590cb67c4a%7C0%7C0%7C637191101937103492&sdata=cH2AxUTL3Jlz%2BdAjRywL45J3DR%2BVq%2FEJMmNtWHWH1v0%3D&reserved=0>, or unsubscribe< https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOVASXU4CV53MD72DDMFZGLRGESRXANCNFSM4K3UZ4PA&data=02%7C01%7Chien.dang%40jefferson.edu%7C8abb60e8bd78456bf09608d7c1ee63fc%7C55a89906c710436bbc444c590cb67c4a%7C0%7C0%7C637191101937103492&sdata=pd2cKMB4mGlXfaV%2Bg4J5vKWrywoe8fW1gws1PSprrPo%3D&reserved=0>.
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA3HUSOLB2IQXTNMUG3RGETPJA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCB7AY#issuecomment-595861379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLBEA25G3XUGIJQWC7HKZLRGETPJANCNFSM4K3UZ4PA .
-- Yours sincerely, Jianhong Ou
another possible issue is that your seqname style is ensembl but not UCSC. please try to change chr1, chr2 to "1", "2".
On Fri, Mar 6, 2020 at 11:58 AM jianhong ou jianhong.ou@gmail.com wrote:
Just try the new code for chr22 and let me know if there are any issues.
On Fri, Mar 6, 2020 at 11:57 AM Hdang1234 notifications@github.com wrote:
Oh - I ran the whole bam file before and got the same issue.
Sent from my iPhone
On Mar 6, 2020, at 11:49 AM, JIANHONG OU notifications@github.com wrote:
WARNING: External Email - This email originated outside of Jefferson. DO NOT CLICK links or attachments unless you recognize the sender and are expecting the email.
Hi Dang,
I got the problem. The issue is your bam file only contain reads in chr22. But you are checking the quality for chr1 and chr2. So there is no reads can be read into the function. Please try to change:
which <- gr[seqnames(gr) %in% c("chr1", "chr2")]
To: which <- gr[seqnames(gr) %in% c("22")]
I am updating the package to show an clear error when this happens.
Good Luck.
Jianhong.
On Fri, Mar 6, 2020 at 11:16 AM jianhong ou jianhong.ou@gmail.com wrote:
Thank you. I see the files. will keep you updated.
Jianhong.
On Thu, Mar 5, 2020 at 7:03 PM Hdang1234 notifications@github.com wrote:
I have shared it. Thanks
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA7IGN57EARDIJY5KI3RGA4T3A5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEN7KSAQ#issuecomment-595503362>,
or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABLBEAYS6USUMDM6RKTIY5DRGA4T3ANCNFSM4K3UZ4PA>
.
-- Yours sincerely, Jianhong Ou
-- Yours sincerely, Jianhong Ou
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub< https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjianhong%2FATACseqQC%2Fissues%2F22%3Femail_source%3Dnotifications%26email_token%3DAOVASXUAHMQBOWKDTU665ZTRGESRXA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCBC5A%23issuecomment-595857780&data=02%7C01%7Chien.dang%40jefferson.edu%7C8abb60e8bd78456bf09608d7c1ee63fc%7C55a89906c710436bbc444c590cb67c4a%7C0%7C0%7C637191101937103492&sdata=cH2AxUTL3Jlz%2BdAjRywL45J3DR%2BVq%2FEJMmNtWHWH1v0%3D&reserved=0>, or unsubscribe< https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOVASXU4CV53MD72DDMFZGLRGESRXANCNFSM4K3UZ4PA&data=02%7C01%7Chien.dang%40jefferson.edu%7C8abb60e8bd78456bf09608d7c1ee63fc%7C55a89906c710436bbc444c590cb67c4a%7C0%7C0%7C637191101937103492&sdata=pd2cKMB4mGlXfaV%2Bg4J5vKWrywoe8fW1gws1PSprrPo%3D&reserved=0>.
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jianhong/ATACseqQC/issues/22?email_source=notifications&email_token=ABLBEA3HUSOLB2IQXTNMUG3RGETPJA5CNFSM4K3UZ4PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOCB7AY#issuecomment-595861379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLBEA25G3XUGIJQWC7HKZLRGETPJANCNFSM4K3UZ4PA .
-- Yours sincerely, Jianhong Ou
-- Yours sincerely, Jianhong Ou
The naming of the chrm was the reason it didn’t work. I just realigned it so it matches UCSC. Thanks for your help.
The information contained in this transmission contains privileged and confidential information. It is intended only for the use of the person named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.
CAUTION: Intended recipients should NOT use email communication for emergent or urgent health care matters.
Hello-
I used samtools (see below) to sort some bam files (paired end reads) and ran ATACseqQC code and ran shiftGAlignmentsList and got an error (see below):
The sort according to name
samtools sort -n sorted-chrM.bam -o nchrM.bam
Add ms and MC tags for markdup to use later
samtools fixmate -rm nChrM.bam -o fixmate.bam
Markdup needs position order
samtools sort -o fixmate.bam fixmatePos.bam
Finally mark duplicates
samtools markdup -r fixmatePos.bam sorted-chrM-markup.bam samtools index -@ 1 sorted-chrM-markup.bam
This error comes on:
Only single end reads Error in names(this.mpos) <- paste(mcols(attempt to set an attribute on NULL))
Any chance you can tell me if the fixmate is causing this error?