Random 24mers as control data-set
1
0
Entering edit mode
4.0 years ago
asumani ▴ 70

Hi all,

I am working with 24nt siRNA. I downloaded sRNA data online, aligned my reads to miRNA.fa and extracted unaligned reads. Then I converted bam to fastq and I extracted only 24nt length reads.

For statistical analysis I want to have random 24mers as control data-set. Any suggestion for how to perform that?

Thanks, Asuman

rna-seq R • 540 views
ADD COMMENT
1
Entering edit mode
4.0 years ago
GenoMax 141k

You could write a program yourself to generate random 24mers but something like the following from BBMap suite may help.

randomreads.sh -Xmx10g ref=your_seq.fa out=stdout.fa minlength=24 maxlength=24 reads=20 | grep -v "^>" > random_24mers

Change reads= to a large number you need/want. You can sort/uniq the output if you want to get unique kmers.

ADD COMMENT
0
Entering edit mode

It just helped perfectly indeed. Many thanks!

ADD REPLY

Login before adding your answer.

Traffic: 2507 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