Get rid of the grep "T" |
samtools mpileup -A -r chr1:205131282-205131283 /home/twotwo/1234.cleaned.bam 2> /dev/null | tail -1 | cut -f5 | sed -e "s/.\{1\}/&\n/g" | tr "[:lower:]" "[:upper:]" | grep "T" | uniq -c
samtools mpileup -A -r chr1:205131282-205131283 /home/twotwo/1234.cleaned.bam 2> /dev/null | tail -1 | cut -f5 | sed -e "s/.\{1\}/&\n/g" | tr "[:lower:]" "[:upper:]" | grep "T" | uniq -c
Comment