Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GO term file writes everything to one line #14

Closed
nreid opened this issue Nov 9, 2023 · 1 comment
Closed

GO term file writes everything to one line #14

nreid opened this issue Nov 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@nreid
Copy link

nreid commented Nov 9, 2023

Description of the bug

Hi, I'm using v 1.0.0, and the GO term TSV file is written entirely to a single line. I'm not sure why, but where there should be line breaks there are tabs. I'm fixing the file with awk currently.

GOTABLE=entap_out/final_results/annotated_gene_ontology_terms.tsv

CORRECTED=entap_out/final_results/annotated_gene_ontology_terms_CORRECTED.tsv

cat ${GOTABLE} | \
sed 's/\t/\n/g' | \
awk '{OFS="\t"}{i=$1};{getline;j=$1};{getline;k=$1};{getline;l=$1}{print i,j,k,l}' \
> ${CORRECTED}

Command used and terminal output

No response

Relevant files

No response

System information

No response

@nreid nreid added the bug Something isn't working label Nov 9, 2023
@nreid
Copy link
Author

nreid commented Nov 9, 2023

sorry this is the wrong repo!

@nreid nreid closed this as completed Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant