<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Estimate Genome Size with Jellyfish and R]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/35910/estimate-genome-size-with-jellyfish-and-r?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/35910/estimate-genome-size-with-jellyfish-and-r?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/35910/estimate-genome-size-with-jellyfish-and-r</guid>
	<pubDate>Mon, 12 Mar 2018 10:11:19 -0500</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/35910/estimate-genome-size-with-jellyfish-and-r</link>
	<title><![CDATA[Estimate Genome Size with Jellyfish and R]]></title>
	<description><![CDATA[<code>jellyfish count -t 8 -C -m 19 -s 5G -o 19mer_out --min-qual-char=? /common/Tutorial/Genome_estimation/sample_read_1.fastq /common/Tutorial/Genome_estimation/sample_read_2.fastq

#-t    -treads=unit32       Number of treads to be used in the run. eg: 1,2,3,..etc.
#-C    -both-strands        Count both strands
#-m    -mer-len=unit32      Length of the k-mer    
#-s    -size=unit32         Hash size / memory allocation  
#-o    -output=string       Output file name
#--min-quality-char         Base quality value. Version 2.2.3 of Jellyfish uses the “Phred” score, where &quot;?&quot; = 30

jellyfish histo -o 19mer_out.histo 19mer_out

#Plot
dataframe19 &lt;- read.table(&quot;19mer_out.histo&quot;) #load the data into dataframe19
plot(dataframe19[1:200,], type=&quot;l&quot;) #plots the data points 1 through 200 in the dataframe19 using a line

plot(dataframe19[2:200,], type=&quot;l&quot;)

plot(dataframe19[2:100,], type=&quot;l&quot;) #plot line graph 
points(dataframe19[2:100,]) #plot the data points from 2 through 100

sum(as.numeric(dataframe19[2:9325,1]*dataframe19[2:9325,2]))

data[10:20,]

sum(as.numeric(dataframe19[2:9325,1]*dataframe19[2:9325,2]))/12

#Return around ~ 305 Mb</code>]]></description>
	<dc:creator>Rahul Nayak</dc:creator>
</item>
<item>
	<guid isPermaLink='true'>https://bioinformaticsonline.com/snippets/view/35910/estimate-genome-size-with-jellyfish-and-r#item-annotation-3986</guid>
	<pubDate>Sat, 28 Aug 2021 03:48:03 -0500</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/35910/estimate-genome-size-with-jellyfish-and-r#item-annotation-3986</link>
	<title><![CDATA[Comment by Neel]]></title>
	<description><![CDATA[<p>Jellyfish manual at http://www.genome.umd.edu/docs/JellyfishUserGuide.pdf</p>]]></description>
	<dc:creator>Neel</dc:creator>
</item>

</channel>
</rss>