Skip to content

How to build an index for an mpmap without using VCF and FASTA files #4691

@xiaoxinhan

Description

@xiaoxinhan

Hello,
I want to use vg mpmap for RNA data alignment, but the reference genome I'm using is nonlinear. I do this with codes below:

vg autoindex --thread 40  --workflow mpmap --prefix graph_gfa/ath --gfa data/NNJ.combine.gfa -T graph_gfa/ --hap-tx-gff data/Col_exon_graph.gff3 

And I got an error report like this:

vg [warning]: System's vm.overcommit_memory setting is 2 (never overcommit). vg does not work well under these conditions; you may appear to run out of memory with p
[vg autoindex] Executing command: vg autoindex --thread 40 --workflow mpmap --prefix graph_gfa/ath --gfa data/NNJ.combine.gfa -T graph_gfa/ --hap-tx-gff data/Col_exo
[IndexRegistry]: Checking for haplotype lines in GFA.
error:[vg autoindex] Input is not sufficient to create indexes
Inputs
        Haplotype GTF/GFF
        Reference GFA w/ Haplotypes
are insufficient to create target index Spliced Distance Index

Besides,I ues vg index to built an index,likes:

vg index -p -t 20 -x graph/ath.xg graph/ath_spliced.pg
vg index -p -t 20 -g graph/ath.gcsa graph/ath_spliced.pg
vg index -p -t 20 -j graph/ath.dist graph/ath_spliced.pg

But there is only one .xg file as a result, without the gcsa and dist indexes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions