Skip to content

Commit

Permalink
Update task_waphl_utils.wdl
Browse files Browse the repository at this point in the history
  • Loading branch information
HNHalstead committed Aug 24, 2023
1 parent cb73200 commit f587cbf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/utilities/task_waphl_utils.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ task freyja_epi_output {
import csv
import fileinput
import pandas as pd
import numpy as np
from datetime import date
Expand Down Expand Up @@ -194,6 +195,7 @@ task freyja_epi_output {
df = pd.DataFrame({'PHL_ID':id_list, 'Sample_ID':submitter_list, 'Sample_Collection_date':date_list,
'Sample_Site':location_list, 'Sample_county':county_list, 'Sample_zip':zip_list, "lineages":lineages, "abundances":abundances, "freyja_date":freyja_date_list})
df.replace(np.nan, 'NULL', regex=True)
df.to_csv('~{samplename}_for_epi.tsv', sep="\t", header=False, index=False)
CODE
Expand Down

0 comments on commit f587cbf

Please sign in to comment.