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

Already on GitHub? Sign in to your account

Chimera.uchime - filename length error #226

Closed
mothur-westcott opened this Issue Apr 15, 2016 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

mothur-westcott commented Apr 15, 2016

"To add information, the old path before renaming (threw the error) was 211 characters (including separators); the new path after renaming (ran fine) was 166 characters."

http://www.mothur.org/forum/viewtopic.php?f=3&t=1560&start=20

@mothur-westcott mothur-westcott added this to the Version 1.38.0 milestone Apr 15, 2016

Contributor

campenr commented Apr 20, 2016 edited

Hello

So I've done a little more research to try and narrow this down. I used debug mode, and reran the command using the long file name (shortened by two characters) that was giving me the error. The first few groups ran through uchime fine, while the third failed. Looking at the actual commands passed to uchime the only difference was the --uchimeout option, whereby strings of 93 characters or less appear to work fine (full filepath = 257 characters), while strings 94 characters and greater did not (full filepath = 258 characters). The output of this command is available here (with the debug output for reading in the data removed for brevity).

I also reran the command identically (same location, same files) to how I ran it the first time I had this error (as reported on the mothur forum) with the logfile available here. In this original (failing) command the option for --uchimeout was 95 characters (full filepath = 260 characters).

I also mentioned however that I had previously run this command successfully in a different directory (with a shorter path in terms of characters) without having to shorten the file name (full filepath = 210 characters).

If I execute these commands directly through uchime instead of through mothur I get identical results.

In summary, uchime appears not to be able to correctly access files with full paths of greater than 257 characters.

Contributor

mothur-westcott commented Jul 14, 2016

Completed with 8c16ba6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment