Skip to content

Handling consecutive runs written to the same directory #25

Description

@jamorrison

When running tranquillyzer multiple times with the same output directory, the demuxed FASTA files demuxed.fasta and ambiguous.fasta are appended to, rather than overwritten. I believe this is also an issue when writing to FASTQs.

When rerunning tranquillyzer, I would assume that results of the previous run would be overwritten. The user could be prompted to know this is occurring (whether it's a warning and then it happens automatically or a check is performed and the user has to explicitly opt in by adding a --force flag or something is up for discussion).

There's also the added issue of what happens when the same data is processed with two different models but fed to the same output directory. Currently, the later run will append and/or overwrite (depending on the circumstance I presume other files are overwritten rather than appended to) the previous run. However, it's possible the user may want both runs to live side-by-side in the same directory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions