Skip to content

Commit

Permalink
fix: [tsv-join] Error processing command line arguments: Windows/DOS …
Browse files Browse the repository at this point in the history
…line ending found for data/metadata_raw.tsv
  • Loading branch information
j23414 committed Oct 4, 2023
1 parent 3b2a1ec commit 7a704ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ingest/workflow/snakemake_rules/nextclade.smk
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ rule join_metadata_clades:
export APPEND_FIELDS=`awk 'NR>1 {{print $2}}' {input.nextclade_field_map} | grep -v -e "index" -e "seqName" | tr '\n' ',' | sed 's/,\$//g'`
tsv-join -H \
cat {input.metadata} | tr '\r' '\n' | grep -v "^$" \
| tsv-join -H \
--filter-file results/nextclade_renamed.tsv \
--key-fields seqName \
--data-fields {params.id_field} \
--append-fields $APPEND_FIELDS \
--allow-duplicate-keys \
--write-all ? \
{input.metadata} \
> {output.metadata}
"""

0 comments on commit 7a704ff

Please sign in to comment.