Skip to content

/ Character in FASTA sequence identifiers causes MSG to think references are directories #36

Description

@gregpinero

The problem is happening in extract-ref-alleles.py (could be in other places too).

Problem is in this line:

            alleles_outfile = open(os.path.join(outdir, ref + '-ref.alleles'), 'a')

and this line:

            orths_outfile = open(os.path.join(outdir, ref + '-orths.alleles'), 'a')

in the function "store_and_remove_alleles_orths".

Example:
There was this string ">D.sim;ChrU;removedfrom2RbyDLSon1/4/09" in the file dsim-all-chromosome-r1.3.reassembly1.updated_wsu1.fasta.

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