Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion run_varscan
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ fi

# Check that the bam files are sorted
issort(){
didsort=$(samtools view -H $1 | grep ^@HD | cut -f3)
didsort=$(samtools view -H $1 | grep -o 'SO:coordinate')
if [[ "$didsort" != 'SO:coordinate' ]]; then
graceful_death "it looks like $1 is not sorted by coordinate, please run samtools sort"
fi
Expand Down