Closed animesh closed 3 years ago
In the manuscript I used #!/usr/bin/env python, not /usr/bin/env: ‘python\r’. "\r" looks like a strange delimiter. Make sure that the scripts are the same as those in this repository.
Looks like the issue was line-endings used by different OS @MicrobeLab , at least installing covertor
sudo apt install dos2unix
dos2unix DeepMicrobes/*py
dos2unix DeepMicrobes/*/*py
solved the problem! At least i have the .tfrec now 👍🏼 Is there a way to check if .tfrec is correct? is it some sort of one-hot encoding of the interleaved fastq?
Try using the functions in https://github.com/MicrobeLab/DeepMicrobes/blob/master/models/input_pipeline.py to parse the content in the tfrec. Whether the scripts were designed for one-hot or k-mer encoding can be easy to know by the script names.
Looks like tfrec_predict_kmer.sh is unable to create a proper .tfrec
any ideas how to proceed further?
Setup is WSL/ubuntu-18.04
prereqs i had to install (hope they are right?)
CLI