Thanks very much for your help! It is very helpful. However, following your suggestion, what I got is not what I want. Take one sequence for example. The annotation for one scaffold is
> Date: Mon, 24 Sep 2012 12:26:03 -0700
> From: jen@bx.psu.edu
> To: yanhe83@hotmail.com
> CC: galaxy-user@lists.bx.psu.edu
> Subject: Re: [galaxy-user] extract genome sequence
>
> Hi Yan,
>
> Both of the other suggestions are good - I'll also give you another
> choice to build coordinates before using the "Fetch Sequences -> Extract
> Genomic DNA" tool to obtain the fasta sequence.
>
> Using your input in BED/Interval format (convert from GFF/GTF if
> necessary, using the tool "Convert Formats -> GFF-to-BED "), or the
> first 6 columns if a BED12 (use "Cut" as needed), then run the "Operate
> on Genomic Intervals -> Get flanks" tool.
>
> "Region:" Whole feature
> "Location of the flanking region/s:" Both
> "Offset" 0
> "Length of the flanking region(s):" 5000
>
> Your question is similar to this one (the first part, but I thought you
> might be interested in how to just get the flanks, too).
> http://user.list.galaxyproject.org/Get-flanks-version-1-0-0-td4604849.html
>
> Good luck with your project!
>
> Jen
> Galaxy team
>
> ps. To search prior questions, please see:
> http://galaxy.psu.edu/search/mailinglists/
>
> On 9/23/12 7:00 PM, Yan He wrote:
> > Hi everyone,
> >
> > I have the genome sequence and gene annotation file. Is there !
a tool on
> > Galaxy to extract the 5,000 bp upstream, 5,000 bp downstream and genome
> > sequences of the genes (including exons and introns) from the genome
> > sequence? Any suggestions are highly appreciated! Thanks!
> >
> > Yan
> >
> >
> >
> > ___________________________________________________________
> > The Galaxy User list should be used for the discussion of
> > Galaxy analysis and other features on the public server
> > at usegalaxy.org. Please keep all replies on the list by
> > using "reply all" in your mail client. For discussion of
> > local Galaxy instances and the Galaxy source code, please
> > use the Galaxy Development list:
> >
> > http://lists.bx.psu.edu/listinfo/galaxy-dev
> >
> > To manage your subscriptions to this and other Galaxy lists,
> > please use the interface a!
t:
> >
> > http://lists.bx.psu.edu/
> >
>
> --
> Jennifer Jackson
> http://galaxyproject.org