Hi Laura,
Before running the filter tool, save the header off into a separate
dataset using the tool "Text Manipulation -> Select first lines from a
dataset". Then, after filtering, add the header back on with the tool
"Concatenate datasets tail-to-head" listing the header-only dataset
first and the filtered dataset second.
If you need to reassign the datatype as well, click on the 'pencil" icon
in the final result dataset to reach the "Edit Attributes" form, scroll
down to the section 'Change data type', assign, and save.
Hopefully this helps,
Jen
Galaxy team
On 5/7/12 8:47 AM, Laura Reinholdt wrote:
I’m using a local instance of Galaxy. I’d like to filter a VCF file for
SNPs that have passed filter (as indicated in the VCF file as “PASS”
under column 7, FILTER). I can use the basic tab file filter tool
(c7==’PASS’), but the resulting file has lost the VCF header and that’s
causing a problem with the annotation tool that I want to use. Any
advice on how to get around this?
Thanks,
Laura
Laura Reinholdt, PhD
Research Scientist
Genetic Resource Science
The Jackson Laboratory
600 Main Street
Bar Harbor, ME 04609-1500
(207) 288-6000, ext. 6693
_http://research.jax.org/grs/
http://research.jax.org/faculty/laura-reinholdt.html
_
The information in this email, including attachments, may be
confidential and is intended solely for the addressee(s). If you believe
you received this email by mistake, please notify the sender by return
email as soon as possible.
___
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 at:
http://lists.bx.psu.edu/
--
Jennifer Jackson
http://galaxyproject.org
___
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 at:
http://lists.bx.psu.edu/