Monday, February 23, 2009

Converting flv file into avi file without software

In this post I am going to tell you how to convert a flash file(.flv) into .avi file, and that too without installing any additional software. Many paid softwares and free softwares are available on the net which enable you to convert a .flv file into .avi file, but why waste your hard disk memory when the video conversion can be done by following a simple trick. Before I tell you the trick let me thank my friend who told me about this method. Just implement the following steps-

Step1
Download this rar file, extract it to any folder. That folder will comprise of many files, one such file would be named "ffmpeg". Now paste this file in the Windows folder, usually the path of the Windows folder is C:\Windows. This file is a binary file with precompiled instructions.

Step2
Suppose we have to convert a .flv file named A.flv which is present in the folder Max. Consider that the folder Max is located in C:, so the path of the .flv file would be C:\Max\A.flv. Go to command prompt, type "cd C:\Max", we would be enterting the Max folder comprising of the file A.flv. Now type "ffmpeg -i A.flv A.avi", this command will convert the .flv file into .avi file.

I hope this post was useful, if you have any doubts fell free to tell me and I shall solve your query.
(Uploaded on 23 Feb, 2010)

Monday, January 19, 2009

Dot Plot

The article like the article below titled "Sequence Alignment Techniques" is related to the field of Bioinformatics. In the field of Bioinformatics Sequence Matching and Sequence Alignment play an important roll. By using Dot Plot we can do Sequence Matching, people of other fields can also view this article as a novel method of matching a pair of words.



Let us view the procedure-
Suppose we have 2 sequences,
Sequence1- ACCTGGAAA
Sequence2- AGGTCCAPP

Place Sequence1 on X axis and Sequence2 on Y axis
Figure1- The Matrix






Compare each element of X axis and Y axis, plot a point whenever same element occurs.



Figure2- Plotting of points





Now join, the points with diagonal lines.

Figure3- Joining of points which occur in diagonal boxes



I am a student of Bioinformatics, below I have written a code in PERL language which can generate a Dot Plot between any 2 sequences, this PERL code will be a useful reference for graduate and undergraduate student of Bioinfomatics.

THE CODE
(Uploaded on 22/4/2009)


* Note- My dear friend, if you are downloading the code kindly include a comment. Your comments mean a lot to me and will encourage me to write more.