arundurvasula / angsd-wrapper

A project for extending ANGSD
MIT License
8 stars 12 forks source link

add reference fasta sort fix #67

Closed arundurvasula closed 9 years ago

arundurvasula commented 9 years ago
for i in `seq 1 12`; do samtools faidx ref.fa $i >> sorted_ref.fa; done

Then gzip your fasta and run

samtools faidx sorted_ref.fa.gz

to get your .fai file.

tvkent commented 9 years ago

this was bc ref fastas weren't working if the chromosomes were out of order

arundurvasula commented 9 years ago

Added to FAQ