Skip to content

Extra trailing tab in "strains.out" files #10

@aysunrhn

Description

@aysunrhn

Both when a canonical quiver is created and when reads are aligned to an existing graph, the output file with the extension strains.out has an extra trailing tab character.

It doesn't affect the internal steps, but it is better to fix it so the output files are easier to use in external tools.

for ((nodeID, i) <- sortedNodeID.zipWithIndex) {
pws.print(nodeID + "\t")
strain2Nodes.foreach{p => if (p._2(i)) pws.print("1\t") else pws.print("0\t") }

Metadata

Metadata

Assignees

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