Skip to content

[BUG] Should't BuildConsensus.py be producing always the same result? #99

@sralchemab

Description

@sralchemab

Describe the bug
I noticed that re-running the exact same BuildConsensus.py command doesn't always produce the same result, shouldn't it be? I'm running it using 4 threads.
In order to double check that the resulting FastA file didn't just differ in the order of the sequences, I first sorted it and format the nucleotide sequences in one long line.

Steps to reproduce
Here's how I'm running the command:

BuildConsensus.py \
    -s SampleA_align-pass.fastq \
    --bf UMI \
    --cf V_PRIMER C_PRIMER BARCODE C_CALL \
    --act majority majority majority majority \
    -n 1 \
    -q 0 \
    --maxerror 0.1 \
    --maxgap 0.5 \
    --fasta \
    --nproc 4 \
    --log "consensus.log" \
    --outname "SampleA"

Here's how I'm preparing the FastA file for comparison:

./bbmap-39.13/sortbyname.sh \
    fastawrap=2000 \
    in=SampleA_collapse-unique.fasta \
    out=SampleA_collapse-unique.sorted.fasta

Environment and versions:

  • OS: Linux
  • Relevant immcantation packages and versions: presto v0.6.0
  • Docker container: quay.io/biocontainers/presto:0.6.0--py_0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions