Open jrcunning opened 7 years ago
Hello. Good day @jrcunning
I am Michael from the University of the Philippines - Diliman. I am interested in separating host and symbiont sequences on my transcriptome data using psytrans.
I downloaded the psytrans script in https://github.com/sylvainforet/psytrans, and run the command below. However, I keep getting similar error that you posted. Were you able to find a work around on this? Thank you very much.
(base) mac@Mikebook psytrans-master % python psytrans.py -A mollusc.pep.fa -B symbiont.pep.fa -t /Users/mac/Desktop/GCAdultranscriptome/psytrans-master/tmp trinity-cdhit90.filter300.Isopct.nozero.fa
Traceback (most recent call last):
File "psytrans.py", line 1235, in
I ended up not using psytrans and used custom blast databases to separate sequences... see: https://github.com/jrcunning/pdam-genome/blob/master/data/Makefile
Hello Dr @jrcunning. Thank you for email and for the link. Will try this method.
Hello, I am also getting the errors mentioned above immediately after psytrans begins to run:
Traceback (most recent call last):
File "psytrans.py", line 1235, in <module>
main()
File "psytrans.py", line 1145, in main
options = PsyTransOptions(args)
File "psytrans.py", line 105, in __init__
self.createTempDir()
File "psytrans.py", line 110, in createTempDir
dir=self.args.tempDir)
File "/usr/lib64/python2.7/tempfile.py", line 329, in mkdtemp
_os.mkdir(file, 0700)
OSError: [Errno 2] No such file or directory: 'tempDir/psytrans_SBmB_b_temp'
My usage is as follows:
python psytrans.py -A Mcap.protein.fa -B SymbC1.Gene_Models.PEP.fasta -p 20 -t tempDir Mcap_holobiont.fasta
Any help would be appreciated. Thanks!
Hello The command below works for me, atleast on our hpc.
mkdir tempDir chmod 775 tempDir Then, run psytrans command
On Fri, Apr 2, 2021 at 9:08 AM Erin Chille @.***> wrote:
Hello, I am also getting the errors mentioned above immediately after psytrans begins to run:
Traceback (most recent call last): File "psytrans.py", line 1235, in
main() File "psytrans.py", line 1145, in main options = PsyTransOptions(args) File "psytrans.py", line 105, in init self.createTempDir() File "psytrans.py", line 110, in createTempDir dir=self.args.tempDir) File "/usr/lib64/python2.7/tempfile.py", line 329, in mkdtemp _os.mkdir(file, 0700) OSError: [Errno 2] No such file or directory: 'tempDir/psytrans_SBmB_b_temp' My usage is as follows:
python psytrans.py -A Mcap.protein.fa -B SymbC1.Gene_Models.PEP.fasta -p 20 -t tempDir Mcap_holobiont.fasta
Any help would be appreciated. Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jueshengong/psytrans/issues/2#issuecomment-812261977, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOMUUSHDDPLTN4WZ7VQOYLTGUKJBANCNFSM4DBVHTYQ .
--
------------------------------------------------------
ᜋᜌ᜔ᜃᜒᜎ᜔ ᜀᜅ᜔ᜑᜒᜎᜓ ᜈᜇ Michael Angelou L. Nada
Graduate student Marine Molecular Biology Laboratory Marine Science Institute University of the Philippines-Diliman
------------------------------------------------------
Hello The command below works for me, atleast on our hpc. mkdir tempDir chmod 775 tempDir Then, run psytrans command On Fri, Apr 2, 2021 at 9:08 AM Erin Chille @.**> wrote: Hello, I am also getting the errors mentioned above immediately after psytrans begins to run: Traceback (most recent call last): File "psytrans.py", line 1235, in
main() File "psytrans.py", line 1145, in main options = PsyTransOptions(args) File "psytrans.py", line 105, in init self.createTempDir() File "psytrans.py", line 110, in createTempDir dir=self.args.tempDir) File "/usr/lib64/python2.7/tempfile.py", line 329, in mkdtemp _os.mkdir(file, 0700) OSError: [Errno 2] No such file or directory: 'tempDir/psytrans_SBmB_b_temp' My usage is as follows: python psytrans.py -A Mcap.protein.fa -B SymbC1.Gene_Models.PEP.fasta -p 20 -t tempDir Mcap_holobiont.fasta Any help would be appreciated. Thanks! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#2 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOMUUSHDDPLTN4WZ7VQOYLTGUKJBANCNFSM4DBVHTYQ . -- ------------------------------------------------------ ᜋᜌ᜔ᜃᜒᜎ᜔ ᜀᜅ᜔ᜑᜒᜎᜓ ᜈᜇ Michael Angelou L. Nada Graduate student Marine Molecular Biology Laboratory Marine Science Institute University of the Philippines-Diliman ------------------------------------------------------*
Thank you, that did it!
Hi,
I am trying to run psytrans and am getting an error immediately about a temporary directory not existing. Here is a traceback of the error - any help would be much appreciated!
Rosss-MacBook-Pro-2:Poc-gen jrcunning$ /anaconda/bin/python2.7 ~/psytrans/psytrans.py -v \