vg build graph for transcripts of a gene
1
0
Entering edit mode
4.0 years ago

How could I create a graph reference for a gene with different transcripts sequences?

I have created a fasta file that contained several transcripts sequences of a certain gene, as below example:

>transcript1
ATCGATCGATCG
>transcript2
ATCGATCGAACG
>transcript3
ATCGATCGAGGG

and ran the vg construct to build the graph for this fasta(without any variants vcf).

In my mind, I should get a graph like

          /GG\
 ATCGATCGA-TCG
          \A/

but I've got three separate graphs. I don't know is that normal or I used the wrong function. I may need someone to give me some advise. Sorry, if this was quite an easy question.

vg • 1.1k views
ADD COMMENT
0
Entering edit mode

Please use the formatting bar (especially the code option) to present your post better. You can use backticks for inline code (`text` becomes text), or select a chunk of text and use the highlighted button to format it as a code block. I've done it for you this time.
code_formatting

ADD REPLY
0
Entering edit mode

Thank you very much.

ADD REPLY
0
Entering edit mode
3.9 years ago
LilithElina ▴ 10

You didn't add the vg construct command you used, so I can only guess: did you use the -M option to specify that you have multiple sequences as input? If that doesn't work, you could try vg msga instead.

ADD COMMENT
1
Entering edit mode

I only used vg construct xxx.fasta > xxx.vg. I will try what you suggest. Thanks.

ADD REPLY

Login before adding your answer.

Traffic: 1992 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6