I haven't experienced this directly, but was contacted by someone using dDocent on a lot of samples such that calls to ls piped into other things created errors where the message said there were too many arguments for ls. This also occurred towards the end of the pipeline where things like rm mapped.*.bed were occurring.
solution
Replace all calls to ls with calls to find
replace instances of rm ... with find . -name ... | rm or similar
I haven't experienced this directly, but was contacted by someone using dDocent on a lot of samples such that calls to
ls
piped into other things created errors where the message said there were too many arguments forls
. This also occurred towards the end of the pipeline where things likerm mapped.*.bed
were occurring.solution
ls
with calls tofind
rm ...
withfind . -name ... | rm
or similar