Kurt-Hetrick / RANDOM

random scripts that I either write for people or that I routinely use
0 stars 0 forks source link

DOWNSAMPLE_SAM2FASTQ.sh #8

Open Kurt-Hetrick opened 5 years ago

Kurt-Hetrick commented 5 years ago

compress fastq fille output like a boss

Kurt-Hetrick commented 5 years ago

search rg header for PU tag first, then ID if PU tag is not present. replace non-alphanumerics with "_"...which I think is how picard's kicks it via brian. If neither ID or PU is present then tell user that they are SOL and can't use this.