Skip to content

Commit 093fe6e

Browse files
committed
Parse Rfam sequences on datamover queue because FTP is flaky
This is not an ideal solution, I think I need to copy sequences separately, then pass them somehow, but this should do for now
1 parent 575725a commit 093fe6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

workflows/databases/rfam.nf

+3-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ process fetch_sequence_info {
8181

8282
process parse {
8383
tag { "$family" }
84+
queue 'datamover'
85+
8486

8587
input:
8688
tuple val(family), path(sequence_info), path(families_info)
@@ -89,7 +91,7 @@ process parse {
8991
path('*.csv')
9092

9193
"""
92-
wget -O sequences.fa.gz 'http://ftp.ebi.ac.uk/pub/databases/Rfam/CURRENT/fasta_files/${family}.fa.gz'
94+
cp '/nfs/ftp/public/databases/Rfam/CURRENT/fasta_files/${family}.fa.gz' sequences.fa.gz
9395
gzip -d sequences.fa.gz
9496
9597
rnac rfam parse $families_info $sequence_info sequences.fa .

0 commit comments

Comments
 (0)