Closed lambertsbennett closed 2 years ago
Yes, you're right. The script assumes that the input fasta (-i) is not a full path. That's why mkdir failed at the beginning. You could modify that line of code to allow the script to add the temporary directories to the end of the given paths. Thanks.
When using the helper script to convert the sequence fasta file that I'm interested in using for training I run the following command:
Regardless of whether I split sequences or not I get the following output:
./tfrec_train_kmer.sh: line 116: cd: tmptfrec/home/ben/Documents/Projects/NLP-binning-approaches/data/Combinedtranscripts.fasta: No such file or directory split: invalid number of lines: ‘0’: Numerical result out of range rm: cannot remove 'shuffled/home/ben/Documents/Projects/NLP-binning-approaches/data/Combined_transcripts.fasta': No such file or directory
It looks like instead of adding the temporary directories to the end of the given paths its trying to prepend them, which is causing all sorts of issues. Is there something that I am missing?