Science Forums Biology Forum Molecular Biology Forum Physics Chemistry Forum how to permute randomly a miRNA sequence?

 RNA Forum RNA Forum. Discuss RNA including mRNA structure and function, rRNA, tRNAs, and the biochemistry of other RNA molecules.

# how to permute randomly a miRNA sequence?

## how to permute randomly a miRNA sequence? - RNA Forum

### how to permute randomly a miRNA sequence? - RNA Forum. Discuss RNA including mRNA structure and function, rRNA, tRNAs, and the biochemistry of other RNA molecules.

#1
12-24-2011, 08:36 PM
Pipette Filler

Join Date: Dec 2011
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
how to permute randomly a miRNA sequence?

Hello
I have a number of miRNA sequences and i need to permute each sequence randomly.does anyone know a tool or an algorithm to perform such task?

#2
12-25-2011, 03:35 PM
Pipette Filler

Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 2 Times in 1 Post
Re: how to permute randomly a miRNA sequence?

I am not sure if I understand correctly details of your problem. If you want to permute the sequence in the computer, I would program it in Microsoft Excel. You can generate the random integer number from the set of 1, 2, 3, and 4 using the following formula,

=ROUND((RAND()*4+0.5),0)

You can use the IF selection statement to convert the random number to the base. For example,

=IF(A3=1,"A",IF(A3=2,"C",IF(A3=3,"G",IF(A3=4,"U"," "))))

where the random number is in the cell A3 of the Excel sheet. If you place your sequence in the cell C3, you can then randomly pick the position in the sequence with =ROUND((RAND()*LEN(C3)+0.5),0) formula in the cell D1.

The mutated sequence can be obtained with the =REPLACE(C3,D3,1,B3) function.

I attached the Excel file that can do that. You may need to turn off automatic Excel recalculation if you do not want the results to change every time you open the file or modify the sheet.

Good luck!

Richard Owczarzy
www dot owczarzy dot net
Attached Files
 SequenceMutate.zip (7.4 KB, 2 views)
#3
12-25-2011, 09:35 PM
Pipette Filler

Join Date: Dec 2011
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Re: how to permute randomly a miRNA sequence?

hi rowczarzy

Thanks very much for the reply.i think you got my question right.for instance i have a miRNA sequence of this order AUGGAACAU,,now i want to generate a random sequence with the same nucleotides e.g: GAGACUAUA

i hope ur excel algorithm can do that.am going to try that right away and get back to you.thanks again for your help.
#4
12-26-2011, 02:29 PM
Pipette Filler

Join Date: Dec 2011
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Re: how to permute randomly a miRNA sequence?

@rowczarzy

your excel programm mutates the sequence at a random position.Maybe i am not expressing my problem well,but that is not what i actually want to do.like i said in my previous post, i have for instance a miRNA sequence AUGGAACAU,,now i want to generate a random sequence with the same nucleotides composition as the original miRNA e.g: GAGACUAUA.i hope you understand what i mean.please help me of you can.
#5
12-26-2011, 03:42 PM
Pipette Filler

Join Date: Mar 2008
Posts: 3
Thanks: 0
Thanked 2 Times in 1 Post
Re: how to permute randomly a miRNA sequence?

That is a little bit different task. It is easier to do it in a custom VBA function. I created the StringPermut function. You can see it in the attached Excel when you press Alt-F11. To rerun the function and make new permutations, press Ctrl-Alt-F9. This will do full Excel recalculation.

Enjoy!

Richard Owczarzy

----------------------------------------------------------------------------
Option Explicit

Function StringPermut(ByVal Seq As String) As String

' function permutate characters in string

Dim arrStr() As String
Dim OutStr As String
Dim Lseq As Long
Dim i As Long
Dim ipick As Long

StringPermut = ""
Lseq = Len(Seq)

If (Lseq < 1) Then
Return
End If

ReDim arrStr(1 To Lseq)
OutStr = ""
Randomize

' Split inputed sequence into array of characters
For i = 1 To Lseq
arrStr(i) = Mid(Seq, i, 1)
Next i

Do
' Choose randomly one character from the set and copy it to output array
ipick = Int((Lseq - 1 + 1) * Rnd + 1)
OutStr = OutStr & arrStr(ipick)
' Remove the selected ipick character from the set that I will use to select the next character
' Decrease the set by 1 character
Lseq = Lseq - 1
For i = ipick To Lseq
' ipick character is overwritten with the next character
arrStr(i) = arrStr(i + 1)
Next i
Loop While Lseq >= 1
StringPermut = OutStr

End Function ' StringPermut
Attached Files
 SequencePermutate.zip (14.3 KB, 2 views)
 The Following 2 Users Say Thank You to rowczarzy For This Useful Post: admin (01-16-2012), rebekka (01-16-2012)
#6
01-16-2012, 08:43 AM
Pipette Filler

Join Date: Dec 2011
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Re: how to permute randomly a miRNA sequence?

@rowczarzy

Thanks so much.it s working perfectly..
#7
08-26-2012, 07:30 AM
Pipette Filler

Join Date: Aug 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: how to permute randomly a miRNA sequence?

i have for instance a miRNA sequence AUGGAACAU,,now i want to generate a random sequence with the same nucleotides composition as the original miRNA e.g: GAGACUAUA

 Tags mirna , permute , randomly , sequence

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home General Science Forums     Biology Forum     New Member Introductions Forum     Chemistry Forum         Organic Chemistry Forum     Physics Forum     General Science Questions and Layperson Board         Science and Religion Forum         Zoology Forum     Environmental Sciences and Issues General Forum     Chit Chat         Science and Lab Jokes     Article Discussion     Molecular Biology News and Announcements         Conferences , Symposiums and Meetings         Molecular Station Suggestion Forum         Instructions for Posting, Help, and Frequently Asked Questions     Science News and Views         Molecular Biology Lectures and Videos     Science Careers         Post-doctoral         Medical School         Ph.D Doctor of Philosophy         Science Jobs Forum Molecular Research Topics Forum     PCR - Polymerase Chain Reaction Forum         Real-Time PCR and Quantitative PCR Forum     Bioinformatics         BioStatistics Forum     Molecular Biology Techniques         Molecular Cloning Forum         Electrophoretic Mobility Shift Assay Forum         Agarose Gel Electrophoresis Forum         BioPhysics Forum         Gene Therapy     Cell Biology and Cell Culture         Apoptosis, Autophagy, and Necrosis Forum         Flow Cytometry Forum         Transfection Forum         Confocal - Microscopy Imaging Techniques         Immunology and Host-Pathogen Interactions         Signalling Biology         Stem Cell Forum     Basic Lab Protocols and Techniques         SDS-PAGE Gel Electrophoresis Forum     DNA Techniques         DNA Extraction Forum         cDNA Forum     Epigenetics Forum: DNA Methylation, Histone and Chromatin Study         ChIP Chromatin Immunoprecipitation Forum     Protein Science         Antibody Forum             Immunoprecipitation Forum         Western Blot Forum         Protein Crystallography Forum         Recombinant Protein Forum         ELISA Assay Forum         Protein Forum     Proteomics Forum         Peptide Forum         Mass Spectrometry Forum         2-D Gel Electrophoresis Forum     Omics and Genomics Forum         Microarrays Forum         Genomics Forum     RNA Techniques Forum         RNAi and SiRNA Forum     Histology Forum         Immunohistochemistry Forum         Immunocytochemistry Forum         Electron Microscopy Forum         Immunofluorescence Forum     Protocols and Methods Forum     Molecular Biology Articles and Protocols     Animal and Molecular Model Systems         Drosophila Forum         Yeast Forum         Zebrafish Forum         Botany Forum         C Elegans Forum         Arabidopsis and Plant Biology         Microbiology Forum         Knockout Mouse Forum     Chromatography Forum Products and Vendor Discussion     Molecular Biology Products and Vendors         Bad Product/Service? Post Here         Lab Equipment Discussion and Reviews Regional Molecular Biology Discussion     Forum Chemie     Forum Biologie     Forum Biologia     Forum Chimica     Forum Physik     Forum De Chimie     Forum De Physique     Forum Chemia     中国人分子的生物学论坛 Chinese     Greek Molecular Biology Forums     分子生物学のフォーラム Japanese     ميدان فارسى. Persian Molecular Biology     [أربيك] علم ساحة- Arabic     Forum de Biologie Moleculaire     Forum Biologia Molecolare     Forum die Molekularbiologie     Foro Biologia Molecular

 Similar Threads Thread Thread Starter Forum Replies Last Post Peter Van Osta Cell Biology and Cell Culture 1 08-01-2010 02:18 PM Peter Van Osta Cell Biology and Cell Culture 1 06-01-2009 02:17 PM Peter Van Osta Cell Biology and Cell Culture 0 03-14-2005 01:27 PM Peter Van Osta Cell Biology and Cell Culture 0 01-06-2005 10:18 AM SGD Sequences Yeast Forum 0 02-27-2004 03:23 AM

All times are GMT. The time now is 10:15 AM.

 Contact Us - Molecular Biology - Archive - Privacy Statement - Top