GithubHelp home page GithubHelp logo

Comments (3)

zyndagj avatar zyndagj commented on August 22, 2024 1

Hello,

I was able to reproduce your problem

$ bsmapz -a SRR6328781_1.fastq -b SRR6328781_2.fastq -d WCG_genome_v2.fa -o SRR6328781.bam -p 64 -A AGATCGGAAGAGC -w 100 -r 0 -q 10
[bsmapz] @Wed Aug  5 15:11:59 2020      loading reference file: WCG_genome_v2.fa        (format: FASTA)
Segmentation fault

and solved it by splitting reference sequence into lines of 70 characters with FASTA-formatter.

$ fasta_formatter -i WCG_genome_v2.fa -o WCG_genome_v2_70w.fa  -w 70
$ ./bsmapz -a SRR6328781_1.fastq -b SRR6328781_2.fastq -d WCG_genome_v2_70w.fa -o SRR6328781.bam -p 64 -A AGATCGGAAGAGC -w 100 -r 0 -q 10
[bsmapz] @Wed Aug  5 15:14:40 2020      loading reference file: WCG_genome_v2_70w.fa    (format: FASTA)
[bsmapz] @Wed Aug  5 15:14:57 2020      12 reference seqs loaded, total size 404611775 bp. 17 secs passed
[bsmapz] @Wed Aug  5 15:15:11 2020      create seed table. 31 secs passed
[bsmapz] @Wed Aug  5 15:15:11 2020      Pair-end alignment(64 threads),
        Input read file #1: SRR6328781_1.fastq  (format: FASTQ)
        Input read file #2: SRR6328781_2.fastq  (format: FASTQ)
        Output file: SRR6328781.bam      (format: SAM, automatically convert to BAM)

You can use another width besides 70, BSMAPz just can't handle the whole chromosome on a single line.

from bsmapz.

zhangaicen avatar zhangaicen commented on August 22, 2024

Hi,I am meeting with the same problem, have you resolve it?

from bsmapz.

zhangaicen avatar zhangaicen commented on August 22, 2024

Hello,

I was able to reproduce your problem

$ bsmapz -a SRR6328781_1.fastq -b SRR6328781_2.fastq -d WCG_genome_v2.fa -o SRR6328781.bam -p 64 -A AGATCGGAAGAGC -w 100 -r 0 -q 10
[bsmapz] @Wed Aug  5 15:11:59 2020      loading reference file: WCG_genome_v2.fa        (format: FASTA)
Segmentation fault

and solved it by splitting reference sequence into lines of 70 characters with FASTA-formatter.

$ fasta_formatter -i WCG_genome_v2.fa -o WCG_genome_v2_70w.fa  -w 70
$ ./bsmapz -a SRR6328781_1.fastq -b SRR6328781_2.fastq -d WCG_genome_v2_70w.fa -o SRR6328781.bam -p 64 -A AGATCGGAAGAGC -w 100 -r 0 -q 10
[bsmapz] @Wed Aug  5 15:14:40 2020      loading reference file: WCG_genome_v2_70w.fa    (format: FASTA)
[bsmapz] @Wed Aug  5 15:14:57 2020      12 reference seqs loaded, total size 404611775 bp. 17 secs passed
[bsmapz] @Wed Aug  5 15:15:11 2020      create seed table. 31 secs passed
[bsmapz] @Wed Aug  5 15:15:11 2020      Pair-end alignment(64 threads),
        Input read file #1: SRR6328781_1.fastq  (format: FASTQ)
        Input read file #2: SRR6328781_2.fastq  (format: FASTQ)
        Output file: SRR6328781.bam      (format: SAM, automatically convert to BAM)

You can use another width besides 70, BSMAPz just can't handle the whole chromosome on a single line.

Good, I've got it. Thank a lot!

from bsmapz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.