-
Notifications
You must be signed in to change notification settings - Fork 5
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
the input device is not a TTY #1
Comments
Hi Chris, I have just installed the docker image on Ubuntu and it works ok from a bash script with 1 fasta sequence as input. Have you had any success running the bash script with different/smaller fasta files? Thanks, |
Hey Gemma, Thanks for your quick reply. The fasta files that I'm putting in are only one protein sequence long (usually ~200 amino acids). I read something that it might be because I'm piping(...ish) results into the command. Would you be able to try it in a for loop like in the attached file in the first message? Like, within the for loop: store a sequence in a temp file and try using that? I really appreciate all of your help! Thank you for your time. Best, |
Hi Chris, I tried your script and I also saw the same error messages. It's not the psortb program at fault - your bash script loop doesn't work (you can debug by naming the split fasta files as $counter.fasta and seeing what files are created). Have you tried running psortb with the fasta file of 7000 sequences? i.e. This will create a concatenated file of psortb results in the psortb_out directory. Thanks, |
You can try change the psortb command,vim psortb and delete the docker's parameters -t will help you |
Hello and Happy Friday,
I installed the docker for psortb, and it works great on the command line; however, when I ran it in a bash script to screen a bunch of proteins (~7,000), it outputs this error
"the input device is not a TTY"
I tried looking around Stackoverflow for docker issues, but it seems it has something to do with the "-it" when installing/running the docker (obviously I'm not really sure what all this docker business is about). Either way, I was just wondering if you might have any way of working around this issue.
I've attached the bash script here for reference. Any help or information would be greatly appreciated. Thank you for your time.
Best,
Chris
run_psortb.txt
The text was updated successfully, but these errors were encountered: