Sign up ×
Biology Stack Exchange is a question and answer site for biology researchers, academics, and students. It's 100% free, no registration required.

I am not a biologist. Please pardon me, if my question does not make sense.

I am trying to obtain a DNA sequence for pattern analysis in Matlab. I used to generate random sequence randseq in Matlab. However, I am trying to obtain some real dataset.

Any idea where I can obtain the DNA dataset. I am looking at a dataset having acgt patterns


EDIT : Thanks a lot guys, I found it here. :

share|improve this question

4 Answers 4

up vote 8 down vote accepted

There are several nucleotide sequence datbases available. One of the largest is the NCBI GenBank at

You may use the search bar at the top to search for nucleotide sequences belonging to a certain organism or gene. For example, searching for "E coli" will give you the full genome sequences for several bacterial species, with a strain of E. coli as the top result. The E. coli genome is about 5 MB large. If you want a single gene sequence, searching for "sonic hedgehog" (without quotes) will return the human hedgehog gene as the top result, which is 1,481 basepairs long.

To get a sequence in raw format, select "FASTA" below the entry. At the page you get sent to , chose "send" in the upper right corner and under "Choose destination", "file". This will give you a .fasta file, the standard raw sequence format. The first line, starting with ">" will be metadata, while the rest of the file consists of the nucleotide letters only.

Note that in addition to a,t,g and c, you may also find other characters, most often "n". These characters describe ambiguity in the sequence (meaning that the nucleotide at that position could not be determined). For a full description of the FASTA format sequence representation, see

share|improve this answer
Thanks a lot for your help –  Kiran Mar 6 '14 at 8:36
1 Hi! If you find that this post answered your question well, you can accept this as the answer by clicking the checkmark. –  biogirl Mar 7 '14 at 5:37
You guys are the best. You are so unlike the IT guys. :) Always there to help. –  Kiran Mar 7 '14 at 11:06

Try Wolfram|Alpha at On the home page is Examples. Click it. One of the boxes on the next screen is Life Sciences. Within that box is a choice of Human genome. Click on that. You will then see examples of searches. Those include sections of the human genome and even sequences for specific genes. Choose an existing one or modify. Then submit the query clicking on the = at the right hand side of the (sample) query. When you get a result from such a search, mouse over the ATGC sequence and you will see a menu appear. The icon "A" allows you to copy the plaintext. That should quickly give you sample sequences for further processing.

share|improve this answer

you can download real sequences from GENBANK. You can search model organism(s) or genetic marker(s) and download it in *.fasta or other format. Good luck!

share|improve this answer
Searching the database was really complicated. Thanks a lot for your support. –  Kiran Mar 6 '14 at 8:35

Since you don't seem to care what sequence you have as long as it is a real sequence, here's the (one of them anyway) mRNA sequence of the human tumor suppressor TP53, perhaps the most studied gene in the world:

If you prefer genomic sequences as opposed to mRNA:

And if you are looking for a larger sample size, here's the entire sequence of the human 22nd chromosome (careful, largish file, ~30MB)

Finally, if you want a lot of sequence, you can download the entire human genome from here (careful: 905MB):

share|improve this answer
No, I do, I am looking for a very particular pattern from humans suffering from cancer. Thanks a lot –  Kiran Mar 6 '14 at 15:28
1 huh? What pattern? You don't mention anything like that in your question. The sequences you are using are not from cancer, do you want sequences from cancer patients? –  terdon Mar 6 '14 at 15:32
Yes, I am sorry, I was not aware of it earlier. Now that I am able to find the sequences, I am particularly looking for patterns from Humans suffering from cancer. –  Kiran Mar 6 '14 at 15:40 please explain what you are actually trying to do. There are hundreds or thousands of available cancer datasets but which one is good for you will depend on the analysis you will perform. Most sequences will be identical in cancer and healthy tissue. If you want to find patterns characteristic of cancer you will need to be more specific. –  terdon Mar 6 '14 at 15:42
I am really sorry, I donot have much information to share apart from what I have already mentioned. I will post it later once I have it. –  Kiran Mar 6 '14 at 15:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.