More posts like this
-
minimap2 for polyA site sequenced with long read data (both cDNA ONT, PacBio)
written by shinyjj 7Hi Biostars! I am processing PolyA site sequenced with long read data (both cDNA ONT, PacBio) using minimap2. I am asking you the following questions …
-
How many sequences per treatment is required for long reads in hybrid approach of microbial metagen…
written by ranatekan91 0Hi everyone, I am new to this field. I am planning to do hybrid approach (PacBio+Illumina OR ONT+Illumina) for my study on gut microbiome. Could …
-
BAM creation - vg surject vs vg mpmap output
written by AshleeThomson 13I have a graph that I am mapping RNA seq reads to and I want to create a BAM for a comparison study. Is there …
-
GraphAligner/vg surject - alignment output nonsense?
written by Andrew 3Following on from some advice I received [in a previous post][1], I've attempted to use `GraphAligner` and `vg surject` to map long reads to the …
-
Order of reads in Long read FASTQ file
written by shinyjj 7Hi all, FASTQ files contain sequencing reads 'as they come off the sequencing instrument.' Is there any particular order to them in long read fastq …
-
Long read RNA # of reads interpretation help
written by shinyjj 7Hi, I have a question regarding this table. The table below is a data from Long read consortium (https://www.gencodegenes.org/pages/LRGASP/). I am trying to compare between …
-
vg add introduces cycles to a directed acyclic graph
written by ved_vyas 4I am trying to add VCF to a graph (DAG) using ./vg add module. But once the process is completed, I found that there are …
-
Polishing PACBIO corrected assembly using ONT and ILLUMINA data (.fastq)
written by K 1Hi, I have corrected PACBIO assembly of a plant genome (query) and would like to polish the assembly with ONT reads and Illumina (target.fastq). I …
-
Segmentation fault (core dumped) during vg surject
written by LilithElina 1I tried to run `vg surject` on a GAM file I generated with `vg map`, but the call ended with "Segmentation fault (core dumped)" and …
-
Tools for metagenomics classification using long reads
written by Medhat 981Searching for taxonomic sequence classifier tools that assigns taxonomic labels to reads, where the input is long reads (PacBio, ONT .....). There is already tool …
I can't say that we've extensively characterized the performance with long reads, but in principle yes, it should work. As of right now, VG itself doesn't have a mapping tool that works well for long reads (although we probably will in the future). However, you could perhaps use alignments from GraphAligner. One speed bump we've discovered in the past is that GraphAligner's GAF output isn't compatible with vg surject, so if you go that direction you should use GAM as the alignment format.
Thank you for the prompt reply, I did exactly what you have described, but got the following error:
warning[vg::Surjector]: Refusing to perform very large alignment against 119596 bp strand split subgraph for read Read_name ; suppressing further warnings. terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr: __pos (which is 22) > this->size() (which is 1)
Originally I had the gfa file, which I converted to vg and xg index using "vg convert" module: In GraphAligner vg index was used for mapping and in vg surject xg index was used. Command used for gam to bam conversion: vg surject -x ${xg_file} -p chr21 -t 20 -b ${gam_file} > ${bam_file}