Skip to content

Commit

Permalink
Add missing script to DNAnexus app folder
Browse files Browse the repository at this point in the history
  • Loading branch information
adthrasher committed Jun 28, 2021
1 parent 3eca180 commit ce41f54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dx_app/resources/stjude/bin/getReadLength.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

bamfile=$1

samtools view $bamfile | head -n 1000 | cut -f 10 | awk '{ print length($0) }' | sort -n | tail -n 1

0 comments on commit ce41f54

Please sign in to comment.