Open jackscanlan opened 2 weeks ago
Also, because this is such a minor thing, I didn't think it was worth its own issue: the manual page currently shows the wrong flag (-c
not -t
) for setting CPU threads in ufcg profile
.
Hi, thank you for pointing this out!
This is indeed unexpected, I've never tested with symbolic files as an input. I don't think it will be too difficult to write a code that tracks down the actual file if a symlink is given, I'll try to implement this and release an update soon.
I also fixed the typo from the manual page. Thanks!
Hi, this is less of a bug and more of an unexpected behaviour! Posting here so others who might have had this issue know a fix.
I'm using
ufcg
with thev1.0.5
container in Nextflow. Nextflow executes each software process in a separatework
directory and passes input files into this directory via symbolic links, rather than copying them over. For my purposes, I was supplying themetadata.tsv
file via an input channel, which meant it was a symbolic link, andufcg
wasn't liking it:The fix is to use the
readlink
command in bash to convert the symbolic path (hererepository_metadata.tsv
) to an absolute path:META_PATH=$(readlink repository_metadata.tsv -fn)
...and then use this as the metadata file path in
ufcg
:ufcg profile -i ./input -o ./output -m $META_PATH
Because the fix is so easy in bash, not sure if it's worth trying to fix this within
ufcg
, but might be worth adding a note to the documentation? Although it is strange to me thatufcg
recognises and allows input files to be symbolic links (see output above).