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

KEGGdecoder input formating. #24

Open
cErikson opened this issue Oct 25, 2020 · 0 comments
Open

KEGGdecoder input formating. #24

cErikson opened this issue Oct 25, 2020 · 0 comments

Comments

@cErikson
Copy link

KEGGdecoder requires the following input format. note the underscore between genome id and read id.

genomeId_fastaId \t keggid

Otherwise KEGGdecoder thinks each entry is its own genome, and segfalts. The following code gets the appropriate format

cat GCA_001508995.1_ASM150899v1_protein_kofamscan.txt | sed -ne 's/.*/GCA001508995_&/p' > GCA_001508995.1_ASM150899v1_protein_kofamscan_prefix.txt  c
cat kofamscan_results.txt | sed -ne 's/.*/kofamscan_&/p' > kofamscan_results_prefix.txt 
cat *prefix.txt > kofamscan_res_prefix.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant