Skip to content

Commit

Permalink
fix initial windows
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Nov 3, 2024
1 parent 9c48510 commit 0f4b2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/partitioning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SAMPLE=$4

# Prepare initial windows
WINDOWS_BED=windows.bed
grep $SAMPLE "$FASTA_FAI" -w -m 1 | awk -v OFS='\t' '{print($1,"0",$2)}' > "$SAMPLE.bed"
grep $SAMPLE "$FASTA_FAI" -w | awk -v OFS='\t' '{print($1,"0",$2)}' > "$SAMPLE.bed"
bedtools makewindows -b "$SAMPLE.bed" -w "$AVG_WINDOW_SIZE" > "$WINDOWS_BED"

# Prepare mask file
Expand Down

0 comments on commit 0f4b2a7

Please sign in to comment.