Question: How To Select Line With Chr1?
0
gravatar for Di Nguyen
7.0 years ago by
Di Nguyen • 50
Di Nguyen • 50 wrote:
Hi all, I have a a bed file that I would like sort for chromosome 1 ONLY? Would you tell me the syntax to "select" lines that are chromosome 1 only instead of 1 or 10,11-19? Thank you very much, Di Nguyen U of Washington
• 506 views
ADD COMMENT • link • modified 7.0 years ago by Jennifer Hillman Jackson ♦ 25k • written 7.0 years ago by Di Nguyen • 50
0
gravatar for Jennifer Hillman Jackson
7.0 years ago by
United States
Jennifer Hillman Jackson ♦ 25k wrote:
Hello Di, The tool "Filter and Sort -> Select" can be used to select lines from a .bed file for chr1 only. On the tool form, in text box labeled "the pattern:", enter this term: ^chr1\s Then sort with the tool "Sort" from the same tool group. Hopefully this helps, Best, Jen Galaxy team -- Jennifer Jackson http://usegalaxy.org http://galaxyproject.org/wiki/Support
ADD COMMENT • link written 7.0 years ago by Jennifer Hillman Jackson ♦ 25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 172 users visited in the last hour