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

Heatmaps of the metagenomes --> mapping file? #58

Open
WebBach opened this issue Mar 27, 2021 · 1 comment
Open

Heatmaps of the metagenomes --> mapping file? #58

WebBach opened this issue Mar 27, 2021 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@WebBach
Copy link

WebBach commented Mar 27, 2021

Hi,
Thanks for such useful tool!
I've been following your Example 03: Metagenomic application - Metagenomic analysis of the Ethiopian cohort, but I got stuck in the least section of drawing heatmaps.

Step 3. Heatmaps of the top 21 SGBs found in the Ethiopian metagenomes

phylophlan_draw_metagenomic \
    -i output_metagenomic.tsv \
    -o output_heatmap \
    --map bin2meta.tsv \
    --top 20 \
    --verbose 2>&1 | tee logs/phylophlan_draw_metagenomic.log

where <bin2meta.tsv>: is a mapping file that links each bin to the metagenome it has been reconstructed from. It is a tab-separated file where the input bins are in the first column and metagenomes in the second column

My issue is that I don't know how to obtain this --map file from my data. Which tool did you use?

Thanks :)

@fasnicar fasnicar self-assigned this Mar 29, 2021
@fasnicar fasnicar added the help wanted Extra attention is needed label Mar 29, 2021
@fasnicar
Copy link
Collaborator

Hi, the bin2meta.tsv as described in the tutorial is a:

mapping file that links each bin to the metagenome it has been reconstructed from. It is a tab-separated file where the input bins are in the first column and metagenomes in the second column

The bin2meta.tsv file, as also reported in the tutorial:

For this example, we are providing the mapping file bin2meta.tsv present inside the example folder.

is available in the PhyloPhlAn repository here: https://github.com/biobakery/phylophlan/blob/master/phylophlan/examples/03_metagenomic/bin2meta.tsv

No tool was used to create that file, but it has been derived by simply considering which MAGs were metagenomically-assembled from what metagenome file.

I hope it is clearer now.

Thanks,
Francesco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants