Skip to content

Extracting useful reads #3

@PoslavskySV

Description

@PoslavskySV

Hi,

Is there way to extract reads that were successfully assembled by vdjer from the original bam file?

I mean the following. I supposed that vdjer.sam contains reads that were assembled by vdjer. But, when I try to extract fastq reads from vdjer.sam and re-analyse them, vdjer produces empty result.

Steps to reproduce:

./STAR --readFilesIn demo_R1.fastq demo_R2.fastq ... > demo.sort.bam
./samtools index demo.sort.bam
./vdjer --in demo.sort.bam ... > vdjer.sam

At this point all ok, vdjer.sam contains a lot of alignments and vdj_contigs.fa a lot of records.

Then I do:

./SamToFastq I=vdjer.sam F=demo2_R1.fastq F2=demo2_R2.fastq
./STAR --readFilesIn demo2_R1.fastq demo2_R2.fastq ... > demo2.sort.bam
./samtools index demo2.sort.bam
./vdjer --in demo2.sort.bam ... > vdjer2.sam

and now vdjer2.sam is empty and vdj_contigs.fa is empty too. Why?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions