Open hjbreg opened 5 years ago
sed -i 's/\r$//' input.txt
sed -i 's/ /,/g' input.txt
sed -i 's/,/\t/g' input.txt
sed -i 's/\t/ /g' input.txt
awk 'NR==1 || /pattern/' input.txt
awk 'NR==1 {print $1,$2}' input.txt
awk 'NR!=1 {split($1,a,"_"); print a[1],a[2]}' input.txt
awk '{print $1 "\t" $2}' input.txt
awk '$2<0.01' input.txt > output.txt
awk '$1=substr($1,3,2)'
Count number of lines (.fq.gz)