Entering edit mode
8.9 years ago
Mehmet
▴
820
Dear All:
I am using a script named ExtractSeq.sh
which is located at https://github.com/halexand/Ehux_HD/blob/master/orthoMCL_output/ExtractSeq.sh
But I got an error:
ExtractSeq.sh: line 67: ${outdir}/${myArray[0]}.fa: ambiguous redirect
Any solution?
Here is the script that I am trying to use, but I am quite new on scripts. Should I change any things , such as pathname etc., on it?
Try putting quotes around the variables in the blastdbcmd line:
If this doesn't work, check that the variables are not empty.
I did what you suggested. I didnt get the same error, but I got a new error below:
file name is too long.
What parameter should I change?
It's as the error message says: the file name is too long. It could also be because you've got a space separated list of file names in the variable instead of a single one as expected. Look at what's in the different variables with echo, e.g. echo $i
the file means that a file in which I put sequences (ID lists) or fasta names in database (goodProteins.fasta) ?
I am really having troubles about this script. My goal is to get single copy genes from orthomcl output and to use them in phylogenetic tree process.
Do you have any better idea than mine?