Giter Club home page Giter Club logo

Comments (3)

adigenova avatar adigenova commented on September 12, 2024

Hi Minky,

Yes, you are right, liger cannot handle ambiguous nucleotides, are you running liger independently? I mean without using the Wengan pipeline. I ask this because at earlier steps wengan remove the ambiguous bases from the short-read contigs, thus the only source of ambiguous letters can be the long-reads, if that is the case, you can replace the N bases on your long-reads using my fork of the seqtk program, you have to run the following command:

#compilation 
git clone https://github.com/adigenova/seqtk.git
cd seqtk; make
#this command will replace all N character by A, the input can be in fasta or fastq format.
./seqtk iupac2basesA test.fa

After running the above, you will get the long-read sequences free of N, alternative, you can split the long-read sequence using the "cutN" program of seqtk, but I think that the first idea might be better for you unless you have plenty of N letters.
The program report the number of bases changed at the end (stderr). After fixing the long-read file you can rerun wengan.

Best,
Alex

from wengan.

minky avatar minky commented on September 12, 2024

Hi Alex,

Thanks a lot. The problem was solved after replacing N with A. I didn't run liger independently, but I applied the mode of "wengan.pl -x pacraw -a A" with input contig assembly from the platanus software.

Indeed the N bases are from the long-reads. There are 4M of Ns out of ~5 Gb pacbio data (seems not too many?). I see that Wengan was designed for human genome. I'm working with a plant genome with complex repeat regions like Arabidopsis. The genome size of my plant is ~250m and the pacbio long-reads covered ~20X of the genome. Wengan pipeline increased the contig N50 from 53k to 92k. I think this is already a great improvement.

Best,
Minky

from wengan.

adigenova avatar adigenova commented on September 12, 2024

Hi Minky,
It seems that you can improve a bit more the result by using WenganD with the raw data (I mean without starting from the Platanus assembly). As you have 20X of long-read coverage you might set the -N parameter to -N 3 (def is 5), there are additional optimizations described on #38 #35.
Best,
Alex

from wengan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.