Can't open gz file
1
0
Entering edit mode
7.6 years ago
elginong1 ▴ 20

Hi,

I just received this gz file:

---Link removed by WouterDeCoster, see comment below---

I can't open it on my Windows PC. If you can open it, please teach me how to.

Elgin

fastq • 5.6k views
ADD COMMENT
3
Entering edit mode

Hi, is this your individual with the uncharacterized genomic features? Do you want to expose the sequences to everyone? Apart from that you can use 7zip on windows.

ADD REPLY
2
Entering edit mode

Is the actual question how to open the file or what to do with it? Frequently, when someone asks how to open a fastq.gz, they expect to find a spreadsheet with the analyzed results. It's very rare that someone actually wants to open a raw FASTQ. It's essentially useless without performing some analysis and and most tools that require a FASTQ input will accept a gzipped one.

ADD REPLY
2
Entering edit mode

Yes. Winter is coming.

ADD REPLY
2
Entering edit mode

I realize I'm late to join this party, but I deleted the link in OPs post because I'm really doubting he should be sharing this data publicly online. Likely confidential, possibly privacy issue. Should discuss with his PI whether this is appopriate.

John already showed the file isn't corrupt so having the exact link here is no longer an added value.

If someone disagrees, let me know. Maybe OP isn't in a very competitive field (like I'm in) and this is all a bit an exaggerated reaction from my side.

ADD REPLY
1
Entering edit mode

Hope you had the permission for (or had thought about) posting a link for someone's genomic data in a public forum.

I assume this is connected with a request for assistance you posted elsewhere on the forum. The person who the data belongs to may not appreciate full consequences of making such data available publicly.

ADD REPLY
0
Entering edit mode

7zip is not enough. This is two-stage process.

See this link:

http://superuser.com/questions/215629/how-to-open-a-tar-gz-file-in-windows

ADD REPLY
3
Entering edit mode

This is not a tar archive. Btw, a lot of tools can open fastq.gz directly. If you upload the file to Galaxy, it should also be extracted automatically.

ADD REPLY
0
Entering edit mode

7zip will uncompress the gz file, and also untar the resulting file as well

ADD REPLY
0
Entering edit mode

Your file looks good to me :)

Johns-MacBook:~ John$ curl -s https://data.macrogen.com/~macro2/HiSeqX/201608/1608KHP-0049/sample_R1.fastq.gz | zcat | head
@MG00HS16:1088:H2FNMBCXY:1:1101:5883:1990 1:N:0:TAAGGCGA
NCTACGGGAGGCAGCAGTGGGGAATATTGCACAATGGGCGCAAGCCTGATGCAGCGACGCCGCGTGCGGGATGGAGGCCTTCGGGTTGTAAACCGCTTTTG
+
#BDDIIIIIIGIIIIIIIIIIIIIIIIIIIIIIIIIIGIHIIIIIIIIIIIIIIIGHIIIIIIIIHIIIDHIIGHHHHIIIHIIIIIIIIIIIIGHIIIH
@MG00HS16:1088:H2FNMBCXY:1:1101:5806:1999 1:N:0:TAAGGCGA
NTCCTGACGCATCCCTCTGACAAATTGTAAGCGGCAGTTGGAACATGGCTTCACCAATATGATCTCCAAGGCAAAGCATCATGAAAGCGATGGCTACCAAG
+
#DDDIIIIIIIIIIIIIIHIIIIIIIIIHIIDHIIIHHIIIIIIIIHIIIIIIIIIIIIIIIHHIIHIIIIIIIIIIIIIIIIIHHHHIIIIIIIHIHIH
@MG00HS16:1088:H2FNMBCXY:1:1101:9995:2000 1:N:0:TAAGGCGA
NCATTAAGAGTTGTCGGGAGGCAAAATAATGATATAAACAGAATTTACTCCATCATGCTCTTCAGAAGATACTTAGCAGTGGCCAGCTCTGTGGCAAAACA
ADD REPLY
1
Entering edit mode

John, this doesn't look like it answers OP's question (How to uncompress on a Windows machine). I'm moving this to a comment.

ADD REPLY
1
Entering edit mode

Quite right, sorry - I was only intending to show the file was not corrupt or tar'd

ADD REPLY
0
Entering edit mode

Actually, the commands may also be useful on a Windows machine, for instance running MobaXterm.

ADD REPLY
4
Entering edit mode
ADD COMMENT

Login before adding your answer.

Traffic: 3188 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6