ibest / ARC

Assembly by Reduced Complexity (ARC)
Apache License 2.0
41 stars 5 forks source link

Targets with names containing non-alphanumeric characters cause problems #12

Closed samhunter closed 11 years ago

samhunter commented 11 years ago

For example, making a folder name with a "|" or "\" etc will seriously screw up pathing and command line operations like starting the assemblers.

samhunter commented 11 years ago

A generic name stored in params['safe_targets'] and formatted like t%04d (i.e. t0001 ) is now used for creating folders for assemblies. The original target name is kept and used only within the names of the contigs in the resulting fasta file. The testing targets have been updated to test this with names:

Target1|nasty/characters:everywhere Target2|nasty/characters:everywhere