Hello,
I need to use bamtofastq utility described in kallisto | bustools workflow (https://www.kallistobus.tools/install_bamtofastq.html) in order to convert bam files to fastq files for single-cell RNA-seq analysis. I also need to run the bamtofastq utility from my terminal in linux.
So, I have downloaded bamtofastq 1.1.2 (from https://support.10xgenomics.com/docs/bamtofastq), and placed the downloaded bamtofastq.man file in my /home/me/ directory.
From https://support.10xgenomics.com/docs/bamtofastq, they suggested to chmod 700 to make it executable. So, I did as below:
chmod 700 /home/me/bamtofastq.man
export PATH=/home/me/bamtofastq/:$PATH
bamtofastq -h
But, I faced with -bash: bamtofastq: command not found ERROR. As I am new in linux and bash, would you please help me what I did wrong and how I can install bamtofastq utility to use in my terminal?
Thank you so much.
Best wishes
kallisto
bamtofastq
bustools