Skip to content

Commit

Permalink
add command to convert txt to tsv
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie22 committed Jun 9, 2023
1 parent a68d494 commit f643915
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions genes_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ def main():
# sambamba output file (txt)
sambamba_txt = sys.argv[1]
sambamba_filename = Path(sambamba_txt).stem
sambamba_tsv = sambamba_filename + ".tsv"
command = f"sed -e 's/ /\t/g' {sambamba_txt} > {sambamba_tsv}"
process = subprocess.call(command, shell=True)

# Parse sample and panel name from the input filename
sample_name = sambamba_filename.split("_")[0]
Expand Down

0 comments on commit f643915

Please sign in to comment.