Thanks, but not quite what i need. If i start with two intervals: chr1 500 1000 geneA . + chr1 2000 2500 geneB . - I want to add via, e.g. 'Compute', the TSS position to the end of each line. The desired result being: chr1 500 1000 geneA . + 500 chr1 2000 2500 geneB . - 2500 This is because geneA is on the '+' strand and geneB is on the '-' strand. Thanks, Ian ________________________________ From: Daniel Blankenberg [dan@bx.psu.edu] Sent: 10 October 2011 14:34 To: Ian Donaldson Cc: galaxy-user@lists.bx.psu.edu Subject: Re: [galaxy-user] Q about 'Compute' tool Hi Ian, Under Operate on Genomic Intervals, you can try the "Get Flanks" tool; you can request upstream, downstream, or both of your provided regions. Please let us know if you need additional assistance. Thanks for using Galaxy, Dan On Oct 10, 2011, at 6:35 AM, Ian Donaldson wrote: Hi, Can 'if' statements by used in 'Text manipulation' > 'Compute'? The reason is that i have a interval file of UCSC genes, i want to identify the TSS of each and make a new interval reflecting the TSS position for each gene. But because the TSS of a '-' stranded gene is actually the 'end' coord i want to be able to check the strand in the compute statement. Is this possible or is there an easier way to do this inside GALAXY? Thank you, Ian ___________________________________________________________ The Galaxy User list should be used for the discussion of Galaxy analysis and other features on the public server at usegalaxy.org<http://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/