DeepMicrobes icon indicating copy to clipboard operation
DeepMicrobes copied to clipboard

How should I run this model in single-end mode?

Open stargazer-dot opened this issue 1 year ago • 7 comments

stargazer-dot avatar Jan 03 '24 04:01 stargazer-dot

For single-end reads, only one fastq file will need to be interleaved and in the model codes the prediction should be averaged across 2 samples rather than 4 samples.

MicrobeLab avatar Jan 05 '24 04:01 MicrobeLab

Hello, can you please elaborate a bit more about this? So when trying to generate tfrec for single ended data, what would the input be? Right now it takes a -f and -r as input. When I try to give just one file it throws an error. Can you paste the command for single end data here? To generate tfrec for our sample data

Gayathri142 avatar May 20 '24 23:05 Gayathri142

Hi, it might be a good choice to directly run the python script for converting data to tfrec: seq2tfrec_kmer.py
--input_seq={} --output_tfrec={}.${kmer}mer.tfrec
--vocab=${vocab} --kmer=${kmer}
--seq_type=${seq_type}

MicrobeLab avatar May 21 '24 06:05 MicrobeLab

Thank you. I have generated a tfrec file for single-end sample using seq2tfrec_kmer.py. However, when I try to run 'predict_DeepMicrobes.sh' it gives me an error saying the paired-end file is missing. Can you please tell me how to perform prediction on single-end tfrec files

Gayathri142 avatar May 21 '24 18:05 Gayathri142

Hi, could you please give the command that you ran 'predict_DeepMicrobes.sh' and the exact error message?

MicrobeLab avatar May 22 '24 07:05 MicrobeLab