Skip to content

Commit

Permalink
Fixed consensus sequence concatenation
Browse files Browse the repository at this point in the history
With the original syntax, `ls consensus_sequences/*.fasta` was getting "Argument list too long", so the resulting `consensus_sequences.fasta.gz` file was empty. This patch fixes the command to concatenate and gzip the sequences
  • Loading branch information
niemasd authored Dec 11, 2023
1 parent f1fa98b commit e9b97bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/combine-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Concatinate consensus sequences
run: cat consensus_sequences/*.fasta | gzip -9 > consensus_sequences.fasta.gz
- name: Concatenate consensus sequences
run: find consensus_sequences -type f -name '*.fasta' | xargs cat | gzip -9 > consensus_sequences.fasta.gz
- name: Generate release tag
id: tag
run: |
Expand Down

0 comments on commit e9b97bc

Please sign in to comment.