Small one replacing switch statemetns to DIAMOND_B...
# request-review
j
Small one replacing switch statemetns to DIAMOND_BLASTX and adding
echo ${args}
to stubs for the other two DIAMOND modules https://github.com/nf-core/modules/pull/8966/
@Evangelos Karatzas might be interested
Or maybe @Daniel Lundin
✅ 1
e
why echo args?
j
Why not
this 1
I am camp printined it so server doesn't complain of unused variable 😉
e
I don't disagree...maybe starting doing it in all modules?
oooor...
don't def the args if it's not used in stub?
j
There was already a long argument maintainers about 😆
It was leeeft as a stalemate
e
I would choose the latter, if you ask me 😛
j
Well too late
That battle has passed
treasure chest 1
💀 1
🗡️ 1
Btw I'm having to fix your eggnogmapper
You have variablility with conda
in terms of md5sums for the hits
Do you have a preference how I switch? Number of lines?
d
Me or Vangelis? The latter, I hope
j
String?
e
let me check and remember whats going on
j
kk
e
Maybe use nft-csv plugin, & sort the entries? @Joon Klaps proposed something similar to this:
path(process.out.distances[0][1]).csv(sep:"\t").sort(),
j
Ehm and no stub test1?
What is this>!
e
I see it's the .hits file that causing the error..running the nf-test now locally to remember the file format and see if that plugin is useable
Else just
.readLines().contains
like the previous tests?
Ok, it's probably not a
sorting
issue, but just different values..then do something similar as
path(process.out.hits.get(0).get(1)).readLines().contains("...
j
OK that's whatI thought
Is counting lines not enough?
e
Even better, and that can go in the snapshot
j
e
Is it too big a drag to include the path(process.out.annotations..) and path(process.out.orthologs..) in the snapshot as well?
j
After 4 hours yes
github on fire 1
😬
I just needed to update DIAMOND 🙃
OK you have to be kidding me
Conda is getting 13 lines rather than 12
e
xD
j
How did this get through the first time around?!
e
Good question....and the answer is always the same