Skip to content
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

Empty sam file #10

Open
mrb20045 opened this issue Jul 24, 2018 · 11 comments
Open

Empty sam file #10

mrb20045 opened this issue Jul 24, 2018 · 11 comments

Comments

@mrb20045
Copy link

hi
I used bs3 and every things goes well as follow. But at the end sam file is empty. I found out some other people faced to the same problem. I think that the main code has some problem. Let me know can it be my fault.

python '/home/bs3/bs3-align.py' -1 '/home/Data/R1_1.fq.gz' -2 '/home/Data/R1_2.fq.gz' -g '/home/ARS-UCD1/bt_ref_ARS-UCD1.2.fa' -d '/media/reference_genome' -o aex

 BS-Seeker3 beta

Welcome to SNAP version 1.0beta.23.

Loading index from directory... 59s. 961853050 bases, seed size 20
Aligning.
Total Reads Aligned, MAPQ >= 10 Aligned, MAPQ < 10 Unaligned Too Short/Too Many Ns %Pairs Reads/s Time in Aligner (s)
400,000 325,572 (81.39%) 36,032 (9.01%) 27,723 (6.93%) 10,673 (2.67%) 45.33% 78,724 5
(None, None)

BS-seeker3 Result

Final Alignment Report

================================================

Number of reads in total: 400000
Number of unique-hits reads (before post-filtering): 0
Number of reads mapped after post-filtering 0

Alignment Time: 79.7409200668secs

Final Cytosine Report

================================================

Total Number of Cytosines: 0
Total Number of Cs in CpG context: 0
Total Number of Cs in CHG context: 0
Total Number of Cs in CHH context: 0

Rate of Methylation
mCG 0.000%
mCHG 0.000%
mCHH 0.000%

@khuang28jhu
Copy link
Owner

khuang28jhu commented Jul 24, 2018

  1. Did the toy example work?
    If yes, Does this help?

  2. Maybe try increasing the -m NO_MISMATCHES or -K ALIGNMENT LENGTH number ?

@mrb20045
Copy link
Author

mrb20045 commented Jul 25, 2018

Thanks for attention. Toy example works, So I have to try your suggestion.

@mrb20045
Copy link
Author

I tried with -m 30, -m 40, -K 50 and -K 90 (my read length is 100). The results are as follow and all of them are same.

-m 30
BS-Seeker3 beta

Welcome to SNAP version 1.0beta.23.

Loading index from directory... 60s. 961853050 bases, seed size 20
Aligning.
Total Reads Aligned, MAPQ >= 10 Aligned, MAPQ < 10 Unaligned Too Short/Too Many Ns %Pairs Reads/s Time in Aligner (s)
400,000 325,572 (81.39%) 36,032 (9.01%) 27,723 (6.93%) 10,673 (2.67%) 45.33% 87,489 5
(None, None)

BS-seeker3 Result

Final Alignment Report

================================================

Number of reads in total: 400000
Number of unique-hits reads (before post-filtering): 0
Number of reads mapped after post-filtering 0

Alignment Time: 79.7702047825secs

Final Cytosine Report

================================================

Total Number of Cytosines: 0
Total Number of Cs in CpG context: 0
Total Number of Cs in CHG context: 0
Total Number of Cs in CHH context: 0

Rate of Methylation
mCG 0.000%
mCHG 0.000%
mCHH 0.000%

-m 40
BS-Seeker3 beta

Welcome to SNAP version 1.0beta.23.

Loading index from directory... 58s. 961853050 bases, seed size 20
Aligning.
Total Reads Aligned, MAPQ >= 10 Aligned, MAPQ < 10 Unaligned Too Short/Too Many Ns %Pairs Reads/s Time in Aligner (s)
400,000 325,572 (81.39%) 36,032 (9.01%) 27,723 (6.93%) 10,673 (2.67%) 45.33% 86,355 5
(None, None)

BS-seeker3 Result

Final Alignment Report

================================================

Number of reads in total: 400000
Number of unique-hits reads (before post-filtering): 0
Number of reads mapped after post-filtering 0

Alignment Time: 78.3472340107secs

Final Cytosine Report

================================================

Total Number of Cytosines: 0
Total Number of Cs in CpG context: 0
Total Number of Cs in CHG context: 0
Total Number of Cs in CHH context: 0

Rate of Methylation
mCG 0.000%
mCHG 0.000%
mCHH 0.000%

-K 50
BS-Seeker3 beta

Welcome to SNAP version 1.0beta.23.

Loading index from directory... 58s. 961853050 bases, seed size 20
Aligning.
Total Reads Aligned, MAPQ >= 10 Aligned, MAPQ < 10 Unaligned Too Short/Too Many Ns %Pairs Reads/s Time in Aligner (s)
400,000 325,572 (81.39%) 36,032 (9.01%) 27,723 (6.93%) 10,673 (2.67%) 45.33% 88,358 5
(None, None)

BS-seeker3 Result

Final Alignment Report

================================================

Number of reads in total: 400000
Number of unique-hits reads (before post-filtering): 0
Number of reads mapped after post-filtering 0

Alignment Time: 77.1407189369secs

Final Cytosine Report

================================================

Total Number of Cytosines: 0
Total Number of Cs in CpG context: 0
Total Number of Cs in CHG context: 0
Total Number of Cs in CHH context: 0

Rate of Methylation
mCG 0.000%
mCHG 0.000%
mCHH 0.000%

-K 90
BS-Seeker3 beta

Welcome to SNAP version 1.0beta.23.

Loading index from directory... 58s. 961853050 bases, seed size 20
Aligning.
Total Reads Aligned, MAPQ >= 10 Aligned, MAPQ < 10 Unaligned Too Short/Too Many Ns %Pairs Reads/s Time in Aligner (s)
400,000 325,572 (81.39%) 36,032 (9.01%) 27,723 (6.93%) 10,673 (2.67%) 45.33% 87,126 5
(None, None)

BS-seeker3 Result

Final Alignment Report

================================================

Number of reads in total: 400000
Number of unique-hits reads (before post-filtering): 0
Number of reads mapped after post-filtering 0

Alignment Time: 78.0903060436secs

Final Cytosine Report

================================================

Total Number of Cytosines: 0
Total Number of Cs in CpG context: 0
Total Number of Cs in CHG context: 0
Total Number of Cs in CHH context: 0

Rate of Methylation
mCG 0.000%
mCHG 0.000%
mCHH 0.000%

@khuang28jhu
Copy link
Owner

Can you show the the exact process (exact screen printout and command) when you run the toy example from start to finish?

@mrb20045
Copy link
Author

./bs3-align -1 test_data/pair1.fq -2 test_data/pair2.fq -o WGBC -f sam -g reference_genome/genome.fa -d reference_genome/

 BS-Seeker3 beta

Welcome to SNAP version 1.0beta.23.

Loading index from directory... 0s. 60856842 bases, seed size 20
Aligning.
Total Reads Aligned, MAPQ >= 10 Aligned, MAPQ < 10 Unaligned Too Short/Too Many Ns %Pairs Reads/s Time in Aligner (s)
20,000 19,281 (96.41%) 719 (3.60%) 0 (0.00%) 0 (0.00%) 47.78% 132,450 0
(None, None)

BS-seeker3 Result

Final Alignment Report

================================================

Number of reads in total: 20000
Number of unique-hits reads (before post-filtering): 9990.0
Number of reads mapped after post-filtering 9919.0

Alignment Time: 1.49422216415secs

Final Cytosine Report

================================================

Total Number of Cytosines: 348024.0
Total Number of Cs in CpG context: 45187.0
Total Number of Cs in CHG context: 49571.0
Total Number of Cs in CHH context: 253266.0

Rate of Methylation
mCG 99.900%
mCHG 99.905%
mCHH 99.898%

@khuang28jhu
Copy link
Owner

screen shot 2018-07-25 at 11 07 16 pm

So the toy example Does work then

does this help?

@mrb20045
Copy link
Author

Sorry, but I revised my previous comment. Toy example works but dose not work for my real data.

@lihui215
Copy link

@mrb20045 I have the same question with you, have you solved it?

@lihui215
Copy link

@mrb20045 thanks, did you chose BS-seeker2 instead of this one ?

@mrb20045
Copy link
Author

mrb20045 commented Jan 30, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants