you could simply use a regular expression splitting the fasta sequence, something like split /[nN]+/ in Perl (I think it's the almost the same in awk syntax). But: are you completely sure that any N comes only from the scaffolding process?
It supposes to be generated from scaffolding steps when we perform the scaffolding using PE read information. I will try awk split to see if it works. Thanks!
Hi everyone. My name is Donny, bioinformatician from Malaysia. Currently I am using Cuffdiff, trying to explore the differentially expressed genes within a sets of …
<p>Where in cuffdiff we can specify that the <a href='http://samtools.sourceforge.net/SAM1.pdf'>bam</a> files are associated to different conditions?</p> <pre><code>cuffdiff -o outputname -b genome.fasta -p <cores> -L C1, …
you could simply use a regular expression splitting the fasta sequence, something like
split /[nN]+/in Perl (I think it's the almost the same in awk syntax). But: are you completely sure that any N comes only from the scaffolding process?It supposes to be generated from scaffolding steps when we perform the scaffolding using PE read information. I will try awk split to see if it works. Thanks!
But then you have the original contig data?? Why don't you just map them back to the scaffolds?
I don't have the original contig data. Also i would like to check the scaffolding...because it sometimes introduce misassembly...
I don't have the original contig data. Also i would like to check the scaffolding...because it sometimes introduce misassembly...
You probably want the scaffold position of the contigs in the contig names too.