Skip to content

Commit

Permalink
include entire header
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlibuit committed Mar 15, 2021
1 parent aca9160 commit d740b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/tasks_nextstrain.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@ task prep_augur_metadata {
echo -e "strain\tvirus\tdate\tregion\tcountry\tdivision\tlocation\tpangolin_lineage" > augur_metadata.tsv
# Set strain name by assembly header
assembly_header=$(grep -e ">" ~{assembly} | sed 's/\s.*$//'| sed 's/>//g' )
assembly_header=$(grep -e ">" ~{assembly} sed 's/>//g' )
echo -e "\"$assembly_header\"\t\"ncov\"\t\"${collection_date}\"\t\"${iso_continent}\" \t\"${iso_country}\"\t\"${iso_state}\"\t\"${iso_county}\"\t"${pangolin_lineage}"" >> augur_metadata.tsv
Expand Down

0 comments on commit d740b9a

Please sign in to comment.