Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
David Hoksza
bh19-rare-diseases
Commits
a185ce22
Commit
a185ce22
authored
Nov 21, 2019
by
David Hoksza
Browse files
possible solution to the sed-newline issue on mac
parent
932bc045
Changes
1
Hide whitespace changes
Inline
Side-by-side
assemble.sh
View file @
a185ce22
...
...
@@ -39,7 +39,8 @@ echo "Integration with ClinVar stored in ${genes_variants_out_path}"
genes_line
=
`
cat
${
genes_variants_out_path
}
|
grep
"genes in total"
`
genes_out_path
=
${
genes_variants_out_path
/02-genes_variants/03-genes
}
echo
${
genes_line
#*
:
}
|
sed
's/\,/\n/g'
>
${
genes_out_path
}
#echo ${genes_line#*:} | sed 's/\,/\n/g' > ${genes_out_path}
echo
${
genes_line
#*
:
}
|
tr
','
'\n'
>
${
genes_out_path
}
echo
"Genes stored in
${
genes_out_path
}
"
minerva_genes_out_path
=
${
RES_DIR
}
/04-minerva-genes-id_
${
ORPHANET_IDS_UNDERSCORE
}
.txt
...
...
@@ -47,7 +48,8 @@ $PYTHON_BIN $ASSOCIATIONS_DIR/minerva_genes.py -f ${genes_out_path} > ${minerva_
var_line
=
`
cat
${
genes_variants_out_path
}
|
grep
"variants in total"
`
variants_out_path
=
${
genes_variants_out_path
/02-genes_variants/03-variants
}
echo
${
var_line
#*
:
}
|
sed
's/\,/\n/g'
>
${
variants_out_path
}
#echo ${var_line#*:} | sed 's/\,/\n/g' > ${variants_out_path}
echo
${
var_line
#*
:
}
|
tr
','
'\n'
>
${
variants_out_path
}
echo
"Variants stored in
${
variants_out_path
}
"
minerva_variants_out_path
=
${
RES_DIR
}
/04-minerva-variants-id_
${
ORPHANET_IDS_UNDERSCORE
}
.txt
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment