title: Minimap2 for Nanopore cDNA-seq alignment to reference: command not found, why?
body: <p>I am trying to map Oxford Nanopore cDNA reads to the reference using Minimap2. I am working on a macbook in the unix environment from the terminal. I have my fastq files and my reference genome downloaded, I have downloaded Minimap2 following the <a href="https://github.com/lh3/minimap2" rel="nofollow noreferrer">tutorial on GitHub</a> with the code:</p>
  <p><code>curl -L https://github.com/lh3/minimap2/releases/download/v2.21/minimap2-2.21_x64-linux.tar.bz2 | tar -jxvf -</code></p>
  <p>And then tried to run Minimap2 with:</p>
  <p><code>minimap2 -ax splice ref.fa nanopore-cdna.fa &gt; aln.sam</code></p>
  <p>But the output is: <code>-bash: minimap2: command not found</code></p>
  <p>So it looks like minimap2 isn't installed, but I can see the folder with Unix executable file called minimap2. How do I install it?
  I have very little bioinformatics experience so I apologise if this is very basic...</p>
  <p>Thank you!</p>