Hi, I hope someone could help me sort this out.
I am working with a marine viral metagenome and I am trying to extrapolate some information on the dataset.
So I have three files:
1)contigs.fa >> which is a file with the contigs created with velvet (there are 176502 contigs total) for example: >NODE_77_length_69_cov_4.985507
2)contigs.orf.fa >> a file created with EMBOSS with ORF (so the node above now has this ids:
>NODE_77_length_69_cov_4.985507_1 [2 - 97]
>NODE_77_length_69_cov_4.985507_2 [3 - 98]
>NODE_77_length_69_cov_4.985507_3 [1 - 99]
>NODE_77_length_69_cov_4.985507_4 [98 - 3] (REVERSE SENSE)
>NODE_77_length_69_cov_4.985507_5 [97 - 2] (REVERSE SENSE)
>NODE_77_length_69_cov_4.985507_6 [99 - 1] (REVERSE SENSE)
3)contigs.orf.fa.blastp: which contain the blastp output.
What I want to do is create a spreadsheet with the node_ID extracted from the contigs.fa file, in the next column the node_ID_orf (so every possible ORF for every single node) and finally the corresponding node which made it with the blastp query.
Is there a script or a way to do this?
F.
I am working with a marine viral metagenome and I am trying to extrapolate some information on the dataset.
So I have three files:
1)contigs.fa >> which is a file with the contigs created with velvet (there are 176502 contigs total) for example: >NODE_77_length_69_cov_4.985507
2)contigs.orf.fa >> a file created with EMBOSS with ORF (so the node above now has this ids:
>NODE_77_length_69_cov_4.985507_1 [2 - 97]
>NODE_77_length_69_cov_4.985507_2 [3 - 98]
>NODE_77_length_69_cov_4.985507_3 [1 - 99]
>NODE_77_length_69_cov_4.985507_4 [98 - 3] (REVERSE SENSE)
>NODE_77_length_69_cov_4.985507_5 [97 - 2] (REVERSE SENSE)
>NODE_77_length_69_cov_4.985507_6 [99 - 1] (REVERSE SENSE)
3)contigs.orf.fa.blastp: which contain the blastp output.
What I want to do is create a spreadsheet with the node_ID extracted from the contigs.fa file, in the next column the node_ID_orf (so every possible ORF for every single node) and finally the corresponding node which made it with the blastp query.
Is there a script or a way to do this?
F.
Comment