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 cc28b04 commit 88eeafb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/awk_filter_reads.sh
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
awk 'BEGIN{OFS="\t"}{if($1 ~ /^@/) {print} else {$2=and($2,compl(2048)); print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11}}'
#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}}'

0 comments on commit 88eeafb

Please sign in to comment.