Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update centrifuge/centrifuge #1495

Merged
merged 11 commits into from
Apr 7, 2022
Prev Previous commit
Next Next commit
Update modules/centrifuge/centrifuge/main.nf
Co-authored-by: James A. Fellows Yates <[email protected]>
  • Loading branch information
sofstam and jfy133 authored Apr 7, 2022
commit 4190ec817bbb00675c4ed12a7ab4fcf8f3caa5d5
1 change: 1 addition & 0 deletions modules/centrifuge/centrifuge/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ process CENTRIFUGE_CENTRIFUGE {
}
def sam_output = sam_format ? "--out-fmt 'sam'" : ''
"""
// we add `-no-name ._` to ensure silly Mac OSX metafiles files aren't included
db_name=`find -L ${db} -name "*.1.cf" -not -name "._*" | sed 's/.1.cf//'`
sofstam marked this conversation as resolved.
Show resolved Hide resolved
centrifuge \\
-x \$db_name \\
Expand Down