Commit 78ae2809 authored by Marine Bergot's avatar Marine Bergot

Upload New File

parent cf20c27c
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
import sys
tab_to_write = list()
lines = [line.rstrip() for line in open(sys.argv[1])]
for i in range(len(lines[0].split("\t"))):
tab_to_write.append(lines[0].split("\t")[i]+"\t"+lines[1].split("\t")[i])
with open(sys.argv[2], "w") as output_file:
for line in tab_to_write:
output_file.write(line)
output_file.write("\n")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment