Skip to content
Snippets Groups Projects
Verified Commit cd5218a0 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

gffread: escape $ :61

parent 018a0af2
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ gffread -x -M - -g ${fasta} ${gtf} | \ ...@@ -58,7 +58,7 @@ gffread -x -M - -g ${fasta} ${gtf} | \
bioawk -c fastx '{ print \$name, \$seq }' | \ bioawk -c fastx '{ print \$name, \$seq }' | \
while read line; \ while read line; \
do \ do \
name=$(echo \$line | cut -f 1); \ name=\$(echo \$line | cut -f 1); \
echo \$line | cut -f 2 | \ echo \$line | cut -f 2 | \
awk -F "" '{ for (i = 3; i <= NF; i += 3) \ awk -F "" '{ for (i = 3; i <= NF; i += 3) \
printf "%s%s", \$i, (i+3>NF?"\n":FS) }' | \ printf "%s%s", \$i, (i+3>NF?"\n":FS) }' | \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment