Can renaming, copying, or moving the omics data file corrupt it?
4
0
Entering edit mode
6.3 years ago
shuksi1984 ▴ 60

Can renaming, copying, or moving the fastq files, bam/sam file, or reference genome file corrupts it. I am facing this issue of file corruption. What can be the cause and what I can do in order to fix the issue? Or I need to get the files again?

RNA-Seq genome next-gen sequencing alignment • 2.2k views
ADD COMMENT
1
Entering edit mode

Your question is lacking any detail. Please read and follow How To Ask Good Questions On Technical And Scientific Forums. What files are you working with, and what is the evidence for corruption?

ADD REPLY
2
Entering edit mode
6.3 years ago

Doing anything (or even nothing) to a file can corrupt it if you have hardware or network problems. If there are no network or hardware problems (and no stray solar rays) then renaming/copying/moving any file shouldn't corrupt it.

ADD COMMENT
0
Entering edit mode

Thank you for your reply. Is there any technique to know whether it is hardware, network, or stray solar rays problem?

I have used GATK and PICARD to validate SAM/BAM/ files.

ADD REPLY
0
Entering edit mode

Try to launch "samtools quickcheck" on your sam / bam file. It should give you more information about the issue.

ADD REPLY
0
Entering edit mode

That's well outside the purview of this site.

ADD REPLY
1
Entering edit mode
6.3 years ago
Ian 6.1k

If you are making copies of a file, particularly if the copy is going to be downloaded off a server, then using md5sum will produce a hash (string of characters) that are unique to the file, and can be matched with the copy.

ADD COMMENT
0
Entering edit mode
6.3 years ago
Prakash ★ 2.2k

moving or copying large file in linux has a risk that files may get corrupted. Its is recommended to use Rsync which ensure data integrity in linux.

ADD COMMENT
0
Entering edit mode
6.3 years ago
Joe 21k

Another option if it's a very large file you don't want to move or duplicate, is to create soft/symbolic links (shortcuts) to the file, and then to operate on the shortcuts instead.

ADD COMMENT

Login before adding your answer.

Traffic: 1985 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