Skip to content

Commit

Permalink
bug in awk_filter_reads
Browse files Browse the repository at this point in the history
  • Loading branch information
yumisims committed Jul 11, 2024
1 parent 88eeafb commit a66eaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/awk_filter_reads.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#remove the read number added earlier --yy5
awk 'BEGIN{OFS="\t"}{if($1 ~ /^@/) {print} else {$2=and($2,compl(2048)); print substr($1,2),$2,$3,$4,$5,$6,$7,$8,$9,$10,$11}}'
awk 'BEGIN{OFS="\t"}{if($1 ~ /^@/) {print} else {$2=and($2,compl(2048)); print substr($1,2),$2,$3,$4,$5,$6,$7,$8,$9,$10,$11}}'

0 comments on commit a66eaf3

Please sign in to comment.