-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incomplete bed output file generated from Chromap with Chip-seq data #122
Comments
Which version of Chromap are you using? There were some bugs regarding the alignment near the end of a chromosome and using a different number of threads. Many of them have been fixed recently. |
Thanks for your promt reply!!
0.2.3-r407 this is the version got after the command chromap --version
I retried just now, using fastq data trimmed by fastp. then the Error below
occurred.
"Didn't reach the end of sequence file, which might be corrupted!"
Is this the problem with my fastq data or the chromap?
Li Song ***@***.***> 于2022年11月16日周三 16:04写道:
… Which version of Chromap are you using? There were some bugs regarding the
alignment near the end of a chromosome and using a different number of
threads. Many of them have been fixed recently.
—
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4AE3ZCGYAE3HODMF7UKD4DWITZZNANCNFSM6AAAAAASCC2ZOM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Could you please use "git pull" (or git clone), and recompile it to get the most recent version of Chromap? The r407 was released about half a year ago, and many bugs have been fixed since then. "Didn't reach the end of sequence file, which might be corrupted!" could be the issue in fastq. Could you please try something like "gzip -t" to test the files? This might be a copy/paste error on github: for the command "chromap --preset chip -t 24 -x chromap-tair10_all -r lower_TAIR10_Chr.all.fasta -1 CRR303826_f1-paired.fq.gz-2 CRR303826_r2-paired.fq.gz --trim-adapters -o CRR303826_chromap.bed", it misses the space before the "-2" option. |
Thank you again.
I'm using the newest version of chromap.
but the bed output didn't even generate.
the Error is as follows.
chromap: src/temp_mapping.h:42: void
chromap::TempMappingFileHandle<MappingRecord>::InitializeTempMappingLoading(uint32_t)
[with MappingRecord = chromap::PairedEndMapping WithoutBarcode; uint32_t =
unsigned int]: Assertion `file != NULL' failed.
Li Song ***@***.***> 于2022年11月16日周三 17:00写道:
… Could you please use "git pull" (or git clone), and recompile it to get
the most recent version of Chromap? The r407 was released about half a year
ago, and many bugs have been fixed since then.
"Didn't reach the end of sequence file, which might be corrupted!" could
be the issue in fastq. Could you please try something like "gzip -t" to
test the files? This might be a copy/paste error on github: for the command
"chromap --preset chip -t 24 -x chromap-tair10_all -r
lower_TAIR10_Chr.all.fasta -1 CRR303826_f1-paired.fq.gz-2
CRR303826_r2-paired.fq.gz --trim-adapters -o CRR303826_chromap.bed", it
misses the space before the "-2" option.
—
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4AE3ZATCMKGCJHLNOOBTITWIUAKXANCNFSM6AAAAAASCC2ZOM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
What was your command for this run? Could you please check whether you have the writing permission in the output folder? |
It is the command I used. I'm sure that I have the permission. |
Could you please run "./chromap -v" to check the version and "which chromap" to make sure it is on the right path? Just want to make sure, could you please add the full path to the -o option? |
Hi, Dear Mourisl, Thanks for all your reply.
the bed output is as below.
Can you have a look if there is something wrong with my command? |
Could you please share what is the output on the screen, such as "Mapped 500000 XXX" and the final summary "Number of mapped reads XXX, ..., Total time: XXXs"? Thank you. |
|
Why did you map single-end read? |
this is a single-end data. |
And what was the issue with the mapping output for this single-end data? |
the fourth column of the bed output is null, is it normal?
|
We don't record the read id in the bed format (as a way to be more efficient), so the fourth column is all N. This is normal. |
Bowtie output SAM. If you want to get sam from Chromap, use —SAM.On Nov 17, 2022, at 9:42 AM, ming1211 ***@***.***> wrote:
the fourth column of the bed output is null, is it normal?
chr1 0 76 NB501040:284:HW72FBGXG:2:13204:16534:7425 1 - 76M
chr1 9 85 NB501040:284:HW72FBGXG:4:23506:22244:13876 1 - 76M
chr1 13 89 NB501040:284:HW72FBGXG:1:13104:26062:18156 1 - 76M
chr1 14 90 NB501040:284:HW72FBGXG:2:23203:5509:14520 1 - 76M
chr1 23 99 NB501040:284:HW72FBGXG:1:12307:2963:2171 0 + 76M
chr1 25 101 NB501040:284:HW72FBGXG:3:12402:5778:12121 6 + 76M
chr1 26 102 NB501040:284:HW72FBGXG:3:23406:9910:6155 6 + 76M
chr1 26 102 NB501040:284:HW72FBGXG:3:21401:26618:20265 0 - 76M
chr1 27 103 NB501040:284:HW72FBGXG:1:23205:3962:4993 7 - 76M
chr1 31 107 NB501040:284:HW72FBGXG:4:12505:23685:9779 6 + 76M
above is the bowtie2 output.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Oh i see, that’s why the output is much smaller than other softwares’. So
brilliant!! But after getting this bed output. What i’m trying to do is to
use bedToBam to change the format to Bam. and than use samtools index to
build the bai index than use bamcoverage to generate Bigwig file. but
always fail at the last step. So i’m checking what’s the mistake in the
previous strips which bother me quite much. I’m off work now. so i can’t
show you the error information.
Thank you again for replying me patiently.
Li Song ***@***.***>于2022年11月17日 周四19:00写道:
… We don't record the read id in the bed format (as a way to be more
efficient), so the fourth column is all N. This is normal.
—
Reply to this email directly, view it on GitHub
<#122 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4AE3ZHRO7TTW5G7DUZWHUDWIZXETANCNFSM6AAAAAASCC2ZOM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@haowenz @mourisl
the command is: |
Can you post the full log? It is hard to know what happened with just one line. |
I tried twice, one used raw_data
chromap --preset chip -t 24 -x chromap-tair10_all -r lower_TAIR10_Chr.all.fasta -1 CRR303826_f1.fq.gz -2 CRR303826_r2.fq.gz --trim-adapters -o CRR303826_chromap.bed
but the bed output contains incomplete lines
then I tried the command without the parameter -t 24
chromap --preset chip -t 24 -x chromap-tair10_all -r lower_TAIR10_Chr.all.fasta -1 CRR303826_f1.fq.gz -2 CRR303826_r2.fq.gz --trim-adapters -o CRR303826_chromap.bed
the incomplete line is as follows
the other time I used data trimmed by Trimmomatic
chromap --preset chip -t 24 -x chromap-tair10_all -r lower_TAIR10_Chr.all.fasta -1 CRR303826_f1-paired.fq.gz-2 CRR303826_r2-paired.fq.gz --trim-adapters -o CRR303826_chromap.bed
there are also incomplete lines in the output bed.
The text was updated successfully, but these errors were encountered: