Created
October 30, 2018 21:07
-
-
Save bluegenes/f495628ace8b16e845780009255e0f41 to your computer and use it in GitHub Desktop.
fix ENA fastq headers for trinity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *fq.gz; do | |
echo 'starting on file' $f | |
cp "$f" "$f~" && | |
gzip -cd "$f~" | sed 's/^@ERR\S*\s/@/' | gzip > "$f" | |
rm "$f~" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment