Skip to content
Snippets Groups Projects
Commit 0b8470dc authored by Manavalan Gajapathy's avatar Manavalan Gajapathy
Browse files

sorts samples in ped

parent 2c033c8a
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ def main(project_name, outpath):
with open(Path(outpath) / f"{project_name}.ped", "w") as out_handle:
out_handle.write("\t".join(header) + "\n")
for sample in samples:
for sample in sorted(samples):
data = ["unknown", sample, "-9", "-9", "-9", "-9"]
out_handle.write("\t".join(data) + "\n")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment