twobittofa hg38.2bit hg38.fasta
I could not get it to just run like this. Does this have something to do with exporting the path or something (new to this, sorry)?
This is what I get:
[~/Desktop]
>>>>>>>>>> chmod 744 twoBitToFa.dms
[~/Desktop]
>>>>>>>>>> twobittofa mm10.2bit mm10.fa
-bash: twobittofa: command not found
It's easier to download the genome from UCSC or ensembl and construct the index yourself. Also, bowtie already provides some pre-indexed genomes. If you already have the indexed files, then you can start with the alignment already. Also, 2bit format has nothing to do with the bt2 format of bowtie.