Skip to content

Commit

Permalink
refactor: Use stageAs for kmer_lists
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Jul 22, 2024
1 parent aecaba1 commit 15e4a83
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modules/primer3_calc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@ process primer3_calc {

input:
path conf
path kmer_lists
path kmer_lists, stageAs: 'kmer_lists/*'

output:
path "*primer3.txt"

shell:
'''
mkdir -p kmer_lists
ln ./*.list kmer_lists
ID=$(head -n 1 !{conf} | cut -f 2 -d '=' | cut -f 2 -d ' ')
primer3_core -h 2>&1 | grep "This is primer3" > ${ID}_primer3.txt
Expand Down

0 comments on commit 15e4a83

Please sign in to comment.