SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
image gap filling sheerlik Bioinformatics 1 01-28-2015 07:52 AM
bam to sam coversion and flagstat badhikari Bioinformatics 2 04-06-2011 11:46 AM
HOW to create image like this? zcrself Illumina/Solexa 1 09-21-2010 05:38 AM
bioanalyzer image polystone Sample Prep / Library Generation 4 03-31-2010 07:40 AM
Image re-analysis SDA Illumina/Solexa 1 08-24-2009 05:38 AM

Reply
 
Thread Tools
Old 11-05-2014, 03:48 PM   #1
cmccabe
Senior Member
 
Location: chicago

Join Date: Jul 2012
Posts: 354
Default image coversion

Is there a tool or script that can be used to convert a file to an 8 or 16 bit TIFF? Thanks .
cmccabe is offline   Reply With Quote
Old 11-05-2014, 05:16 PM   #2
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,079
Default

http://www.irfanview.com/ May depend on what format you are converting from but if it works then leave a comment in this thread.
GenoMax is offline   Reply With Quote
Old 11-06-2014, 05:40 AM   #3
Michael.Ante
Senior Member
 
Location: Vienna

Join Date: Oct 2011
Posts: 123
Default

I would simply use "convert" from the ImageMagick tools:


Code:
convert -depth 8 input.jpg out.tiff
Michael.Ante is offline   Reply With Quote
Old 11-06-2014, 07:55 AM   #4
cmccabe
Senior Member
 
Location: chicago

Join Date: Jul 2012
Posts: 354
Default

The problem I am having is an image file saved and is ~250MB, however windows throws an error (can not read from the source file or disk error), the data appears to be there but I am not sure how to access it or what to do to make it accessible. Thanks.
cmccabe is offline   Reply With Quote
Old 11-06-2014, 08:11 AM   #5
Richard Finney
Senior Member
 
Location: bethesda

Join Date: Feb 2009
Posts: 700
Default

Microsoft has gotten very aggressive in sand boxing their systems.
Organizational System admins have gone crazy locking down systems.

The command line tool icacls ( https://duckduckgo.com/?q=icacls )
can be used to just grant world read/write permissions on a directory.
The syntax is wacky.
The chmod stuff in cygwin often doesn't fix the problem.


You may also need to copy the file somewhere on C: drive where hopefully you have better read write permissions.
Richard Finney is offline   Reply With Quote
Old 11-06-2014, 08:42 AM   #6
cmccabe
Senior Member
 
Location: chicago

Join Date: Jul 2012
Posts: 354
Default

The problem is I can not move them off the partion drive E: to the C drive without getting that error. There is data in the image file it is just not accessible and I do not know what to do. Thank you.
cmccabe is offline   Reply With Quote
Old 11-06-2014, 08:49 AM   #7
Richard Finney
Senior Member
 
Location: bethesda

Join Date: Feb 2009
Posts: 700
Default

What is E: drive ? A USB stick? A portable? Network drive?

Can you run icacls on it?

Open a command line with cmd.exe , available at search for programs.

As I mentioned before, this problem seems to have gotten worse and worse lately.
Default Microsoft policy changes via updates and admin aggressiveness account for these problems (I think). I see them more and more.
Only way I've found around it is icacls; which is very hard to use.

If you are at at school or a business, talk with the local admins.

If you can't read the device/directory/file , then you have to change the permissions.
If you can't change the permissions, you have to talk to your sysadmins.
If it's your machine, you can run cmd.exe as admin and run icacls or use the Properties/Security right click thing in "windows explorer" or "computer" (which I don't use , I use icacls )

Last edited by Richard Finney; 11-06-2014 at 08:58 AM.
Richard Finney is offline   Reply With Quote
Old 11-06-2014, 08:53 AM   #8
cmccabe
Senior Member
 
Location: chicago

Join Date: Jul 2012
Posts: 354
Default

The E: drive is a partion where the data image is dumped. The read/write perrmisions are already assigned properly to this drive and this error just started happening. It is seemingly random and doesn't occur to every image and there doesn't seem to be a pattern. Thank you very much for your help.
cmccabe is offline   Reply With Quote
Old 11-06-2014, 09:21 AM   #9
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,079
Default

Have you tried irfanview? It should pretty much handle any image format unless the file you have is actually corrupt. You could potentially have a failing E drive based on your description of this occurring randomly (hardware wise).

What program is dumping the images and what kind of data is this?
GenoMax is offline   Reply With Quote
Old 11-06-2014, 09:36 AM   #10
cmccabe
Senior Member
 
Location: chicago

Join Date: Jul 2012
Posts: 354
Default

I am trying to get access to download it (I work at a hospital and can not sownload it without approval). These are TIFF images that are being dumped from a scanner to the partition. Thank you .
cmccabe is offline   Reply With Quote
Old 11-06-2014, 09:46 AM   #11
GenoMax
Senior Member
 
Location: East Coast USA

Join Date: Feb 2008
Posts: 7,079
Default

Keep the possibility of failing hardware in mind (if this is happening randomly and not infrequently). You would want to be proactive, if this is irreplaceable data.
GenoMax is offline   Reply With Quote
Old 11-06-2014, 10:26 AM   #12
cmccabe
Senior Member
 
Location: chicago

Join Date: Jul 2012
Posts: 354
Default

Thank you very much .
cmccabe is offline   Reply With Quote
Old 11-06-2014, 01:07 PM   #13
cmccabe
Senior Member
 
Location: chicago

Join Date: Jul 2012
Posts: 354
Default

I finally installed irfanview and it seems to find, open, and save the 8-bit TIFF. However, only one channel seems to save not dual-channel. I am not to familiar with this software and need some asistance. Thank you.

Last edited by cmccabe; 11-06-2014 at 02:10 PM.
cmccabe is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 03:42 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO