Mostrando entradas con la etiqueta graph. Mostrar todas las entradas
Mostrando entradas con la etiqueta graph. Mostrar todas las entradas

20 de octubre de 2026

Barleymap graph now produces FASTA

Following a recent post where we released Barleymap graph, today I show here a new feature that we realized was needed, namely the sequences of the regions matched in the graph. 

Input: we will illustrate this with the genomic sequence AY750993.1, which corresponds to the MADS-box transcription factor BM5A (VRN-H1) gene from barley cultivar Strider, which contains 7 introns that harbour transposons. Overal, the Strider sequence is 17,220bp long.

1. Paste the AY750993.1 sequence in FASTA format in https://barleymap.eead.csic.es/barleymap/graph

2. Lower the min. identity cutoff to 95%. Only by doing this we recover a match from HOR_21599.

3. Press  ; after a few seconds you will get a table results. The important part here is the 'other alignments' column:

chr5H@MorexV3:528147864-528156753(-)
chr5H@Hockett:529179413-529188302(-)
chr5H@Igri:536576211-536592410(-)
chr5H@Du_Li_Huang:531951537-531956948(-)
chr5H@Planet:536046041-536053321(-)
chr5H@HOR_9043:529479374-529486654(-)
chr5H@Barke:538056728-538062023(-)
chr5H@HOR_13821:532398401-532414507(-)
chr5H@HOR_21599:525404342-525419909(-)
chr5H@HOR_3365:526478073-526494180(-)
chr5H@HOR_8148:527939009-527947898(-)
chr5H@HOR_13942:533891783-533900845(-)
chr5H@GoldenPromise:528765071-528773960(-)
chr5H@B1K-04-12:541668530-541688540(-)
chr5H@HOR_10350:523238019-523245299(-)
chr5H@HOR_7552:531092836-531098247(-)
chr5H@OUN333:528472375-528482213(-)
chr5H@Chiba:530164325-530180432(-)
chr5H@Akashinriki:530911309-530916720(-)
chr5H@HOR_3081:531132876-531148982(-)
FASTA

4. Right-click on the FASTA link and save the FASTA file to your local file system.

5. You can now inspect the sequences that correspond to the ranges in 'other alignments' column:

perl -lne 'print substr($_,0,40)' Pan20_mmap_pro.bmap-AY750993.1-95.0-98.0p4v87ssv.fna
>chr5H@MorexV3:528147864-528156753(-)
TAACCCAGTCGCCAACATCAAAAGAAAGGGCCTGATGTTT
>chr5H@Hockett:529179413-529188302(-)
TAACCCAGTCGCCAACATCAAAAGAAAGGGCCTGATGTTT
>chr5H@Igri:536576211-536592410(-)
TATTGATGGGTGGAGGACTGGTCGGCGCACACGCGCGCAC
...

6. You can run a multiple sequence alignment and get something similar to this: 

Take care, Bruno 




 



 

 

 









11 de agosto de 2026

Barleymap graph release

Barleymap (https://barleymap.eead.csic.es/barleymap), a Web tool for mapping the position of genetic markers along maps of the barley genome, has been updated and now it supports graph searches over the Pan20 barley pangenome. 

The Graph feature has actually been available for a couple months now, but today the preprint describing its development and testing came out at https://www.biorxiv.org/content/10.64898/2026.08.06.741139v1 . I'll paste here the abstract:

"Barley (Hordeum vulgare) is a key cereal crop with exceptional adaptation to diverse  environments. With a large, highly repetitive diploid genome, barley presents challenges for pangenome representation. Starting from the reference genome MorexV3, we describe the construction of a barley graph (Pan20) representing the global diversity of landraces and cultivars captured in the public pangenome V1. For mapping arbitrary sequences, a greedy strategy is proposed that combines GMAP alignment followed by intersection with a Practical Haplotype Graph (PHG). This enables presence-absence variation detection and provides a consistent MorexV3 physical coordinate system across genotypes, enabling comparative analysis and visualization. For imputation of genomic data, the PHG approach relies on k-mer pseudo-alignment against the graph. Benchmarks show that Pan20 can accurately align barley genomic and transcriptomic sequences, including those not present in the Morex reference, revealing that a third of long genomic sequences map on non-reference genomes. Moreover, experiments with Genotyping by Sequencing and low-pass sequencing data indicate that FASTQ files can be efficiently mapped and imputed against the graph, preserving local haplotype context. This flexible and scalable graph framework allows barley researchers to explore genetic diversity beyond a single reference and facilitates analysis of diversity panels at the haplotype level, going beyond SNPs. Documentation and a Docker container are available at https://github.com/eead-csic-compbio/barleygraph. The graph sequence mapping utility was added to the Web application https://barleymap.eead.csic.es ." 

Please give it a go and let us know if it works for you, or not. I am posting this from my summer break, and Joan Sàrria is also away, so we might take a while to respond to issues or comments.

Pan20 summary 

 

Take care, Bruno