Question: Can't change .bed attributes (column)
0
gravatar for pjc88
3.5 years ago by
pjc880
United States
pjc880 wrote:

Hello,

I am working off of a windows computer at my lab off the main website server usegalaxy.org) and when I upload a .bed file, for some reason after auto detecting the attributes the option to change start and end columns only allow the option of "1" from the pulldown menu. I was wondering if anyone else had encountered this and if there is any way to fix it. Before auto-detecting it has the pulldown options of 1, 2, or 3. After, only 1 appears in the pull-down. Thank you in advance!

-Patrick

bed attributes edit • 793 views
ADD COMMENTlink modified 3.5 years ago • written 3.5 years ago by pjc880
0
gravatar for pjc88
3.5 years ago by
pjc880
United States
pjc880 wrote:

For anyone else with this problem, I just solved it. I had obtained software that runs through unix command script and the output was a modified .bed file but it was NOT tab delimited. You can convert a text file to tab delimited file through the unix command

awk '{ for(i=1;i<=NF;i++){if(i==NF){printf("%s\n",$NF);}else {printf("%s\t",$i)}}}' inputfile

Now it looks like it might work. I'll verify shortly.

ADD COMMENTlink written 3.5 years ago by pjc880
0
gravatar for Jennifer Hillman Jackson
3.5 years ago by
United States
Jennifer Hillman Jackson25k wrote:

Hello,

Data with alternate delimiters can also be transformed into tabular format within Galaxy (if the delimiter is in the tool form list). 

Use the tool: Convert delimiters to TAB

Best, Jen, Galaxy team

ADD COMMENTlink written 3.5 years ago by Jennifer Hillman Jackson25k
0
gravatar for pjc88
3.5 years ago by
pjc880
United States
pjc880 wrote:

The unix code did also work for anyone who would like to do it on their computer/virtual machine rather than wait for the job to be processed through usegalaxy. Might save a little bit of time.

-Patrick

ADD COMMENTlink written 3.5 years ago by pjc880
0
gravatar for Jennifer Hillman Jackson
3.5 years ago by
United States
Jennifer Hillman Jackson25k wrote:

Hi -

To let anyone else trying this know, the tool Convert delimiters to TAB executes on a different cluster than tools that require more resource (sequence mapping tools and such). This effectively means that it runs pretty quick once started and there shouldn't be much of a wait time, if this is your only job. If you have other jobs queued, those will run first.  Most text/data manipulation tools are the same.

Another great alternative for manipulation operations is to set up your own local Galaxy server (the set-up is very simple for a basic install). Many of these simple manipulation tools are installed by default. Then you can add in anything else you want from the Tool Shed. Be aware that a tool will only execute successfully if the computer/server and associated cluster (if running in production mode) has the resources needed by the tools, tool options selected, and size of the inputs. The general rule is that if it will run line-command, it will run in Galaxy, given the same resources.

To get an idea of the resources any particular tool needs to execute, see that tool's source documentation. In general terms, the minimum system memory needed to run tools in Galaxy is 8 GB, but at least 16 GB for computationally intensive tools (and sometimes more). The available disk memory (size) required depends on the data sizes and can vary. For example, if you have a fastq dataset that is 30 GB (uncompressed), then at least that much free disk needs to available to the Galaxy instance just to load the file one time. In short, the same resource rules required by any stand-alone application running on your computer.

Hope this helps! Jen, Galaxy team

ADD COMMENTlink modified 3.5 years ago • written 3.5 years ago by Jennifer Hillman Jackson25k
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: 175 users visited in the last hour