You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using chromVAR to analyze bulk ATAC-seq samples where I merge both bam and peakcalled files.
For the FASTA reference I'm using a FaFILE since my samples where aligned to Ensembl 106 release, which is generated with the following lines:
When running the analysis with broad peaks, I do not get any issues and the results looks like what we are expecting, however I am now trying to do the same analysis for narrow peaks (same BAM files, same FaFILE, just different MACS2 files), with a small addition of filtering the narrow peaks:
peaks <- readNarrowpeaks(peakfile, width = 500, non_overlapping = TRUE)
but I'm getting an error when running the addGCBias step:
sample_counts <- addGCBias(fragment_counts,
genome = FaFile.HSapiens.Ensembl.106)
Error in value[[3L]](cond) : record 78540 (MT:-33-466) was truncated
_file: ~/human/Ensembl_106/Homo_sapiens.GRCh38.dna.primary_assembly.fa_
It feels like there might be something wrong with my FASTA file, but since I ran this analysis with broad peaks and it was fine, I assume there's something wrong with the narrow peak analysis, specifically.
I was wondering if you can help me solve this issue. I've attached the narrow peak MACS2 output (there's a .txt at the end so I can properly upload it).
Hi,
I'm using chromVAR to analyze bulk ATAC-seq samples where I merge both bam and peakcalled files.
For the FASTA reference I'm using a FaFILE since my samples where aligned to Ensembl 106 release, which is generated with the following lines:
(the primary FASTA was downloaded from Ensembl FTP server http://ftp.ensembl.org/pub/release-106/fasta/homo_sapiens/dna/)
When running the analysis with broad peaks, I do not get any issues and the results looks like what we are expecting, however I am now trying to do the same analysis for narrow peaks (same BAM files, same FaFILE, just different MACS2 files), with a small addition of filtering the narrow peaks:
peaks <- readNarrowpeaks(peakfile, width = 500, non_overlapping = TRUE)
but I'm getting an error when running the addGCBias step:
It feels like there might be something wrong with my FASTA file, but since I ran this analysis with broad peaks and it was fine, I assume there's something wrong with the narrow peak analysis, specifically.
I was wondering if you can help me solve this issue. I've attached the narrow peak MACS2 output (there's a .txt at the end so I can properly upload it).
Thanks in advance!
Art.
03_merged_test_full.narrowPeak.txt
The text was updated successfully, but these errors were encountered: