when I was trying to get the part of remote BAM file. The expected BAM file is not downloaded and the following error is encountered.

connect: Connection timed out  
[kftp_connect_file] 350 Restart position accepted (0).  
[main_samview] fail to open file for reading.

I command I used:

samtools view -b -o NA20542.chrom21.ILLUMINA.bwa.TSI.low_coverage.bam ftp://ftp.1000genomes.ebi.ac.uk/vol1/ftp/data/NA20542/alignment/NA20542.chrom21.ILLUMINA.bwa.TSI.low_coverage.20100311.bam 21:20454259-20654259

what might be the problem? (I am not fully comfortable in reading/analyzing C code. ...samtools 0.1.7a) Is there any way that I could avoid this error?

asked 11 Aug '10, 14:51

culmen's gravatar image

culmen
106517
accept rate: 0%

edited 11 Aug '10, 15:15


The "Restart position" line means that you successfully connected to the FTP server for communication, but for some reason the connection timed out. This may be due to high traffic on the 1000genome server, and it not being able to handle as many request as it's getting at the time. You could try again later.

Additionally, there may be some sort of traffic restriction from your Internet service provider/IT department. If you talk to them, mention that your FTP connection is timing out on file transfer, but you are able to send FTP commands that don't involve file transfer (that's what the Restart position line means).

link

answered 11 Aug '10, 19:05

mrawlins's gravatar image

mrawlins
431119
accept rate: 16%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×13
×8
×4

Asked: 11 Aug '10, 14:51

Seen: 814 times

Last updated: 11 Aug '10, 19:05

powered by OSQA