Skip to content

Commit

Permalink
Add samtools to index FASTA #76.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnikz committed Nov 25, 2020
1 parent f8da830 commit 1d9d3d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions genmap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ INDEX="$BASE_DIR/genmap_index"
MAP="$BASE_DIR/genmap_K${KMERS}_E${MAX_MISMATCH}"

rm -fr "$INDEX" "$MAP*" "$FAI*"
samtools faidx -o "$FAI" "$FASTA"
genmap index -F "$FASTA" -I "$INDEX"
genmap map -K "$KMERS" -E "$MAX_MISMATCH" -I "$INDEX" -O "$MAP" -bg
cut -f 1,2 "$FAI" > "$FAI.sizes"
Expand Down

0 comments on commit 1d9d3d9

Please sign in to comment.