3 deleted 40 characters in body
source | link

I have 7 FastQ files and I want to merge them into one in the following way:

File1 line1
File1 line2
File1 line3
File1 line4
File2 line1
File2 line2
File2 line3
File2 line4
File3 line1
File3 line2
File3 line3
File3 line4
.
.
.
File7 line1
File7 line2
File7 line3
File7 line4

I have tried the paste command but that gives me the following:

File1 line1
File2 line1
File3 line1
.
.
File7 line1

It does not take four lines from each file as I need.

Any help would be appreciated. Thanks

I have 7 FastQ files and I want to merge them into one in the following way:

File1 line1
File1 line2
File1 line3
File1 line4
File2 line1
File2 line2
File2 line3
File2 line4
File3 line1
File3 line2
File3 line3
File3 line4
.
.
.
File7 line1
File7 line2
File7 line3
File7 line4

I have tried the paste command but that gives me the following:

File1 line1
File2 line1
File3 line1
.
.
File7 line1

It does not take four lines from each file as I need.

Any help would be appreciated. Thanks

I have 7 FastQ files and I want to merge them into one in the following way:

File1 line1
File1 line2
File1 line3
File1 line4
File2 line1
File2 line2
File2 line3
File2 line4
File3 line1
File3 line2
File3 line3
File3 line4
.
.
.
File7 line1
File7 line2
File7 line3
File7 line4

I have tried the paste command but that gives me the following:

File1 line1
File2 line1
File3 line1
.
.
File7 line1

It does not take four lines from each file as I need.

2 added 102 characters in body
source | link

I have 7 FastQ files and I want to merge them into one in the following way:

File1 line1 File1 line2 File1 line3 File1 line4 File2 line1 File2 line2 File2 line3 File2 line4 File3 line1 File3 line2 File3 line3 File3 line4 . . . File7 line1 File7 line2 File7 line3 File7 line4

File1 line1
File1 line2
File1 line3
File1 line4
File2 line1
File2 line2
File2 line3
File2 line4
File3 line1
File3 line2
File3 line3
File3 line4
.
.
.
File7 line1
File7 line2
File7 line3
File7 line4

I have tried the paste command but that gives me the following: File1 line1 File2 line1 File3 line1 . . File7 line1

File1 line1
File2 line1
File3 line1
.
.
File7 line1

It does not take four lines from each file as I need.

Any help would be appreciated. Thanks

I have 7 FastQ files and I want to merge them into one in the following way:

File1 line1 File1 line2 File1 line3 File1 line4 File2 line1 File2 line2 File2 line3 File2 line4 File3 line1 File3 line2 File3 line3 File3 line4 . . . File7 line1 File7 line2 File7 line3 File7 line4

I have tried the paste command but that gives me the following: File1 line1 File2 line1 File3 line1 . . File7 line1

It does not take four lines from each file as I need.

Any help would be appreciated. Thanks

I have 7 FastQ files and I want to merge them into one in the following way:

File1 line1
File1 line2
File1 line3
File1 line4
File2 line1
File2 line2
File2 line3
File2 line4
File3 line1
File3 line2
File3 line3
File3 line4
.
.
.
File7 line1
File7 line2
File7 line3
File7 line4

I have tried the paste command but that gives me the following:

File1 line1
File2 line1
File3 line1
.
.
File7 line1

It does not take four lines from each file as I need.

Any help would be appreciated. Thanks

1
source | link

Interleave seven fastQ files

I have 7 FastQ files and I want to merge them into one in the following way:

File1 line1 File1 line2 File1 line3 File1 line4 File2 line1 File2 line2 File2 line3 File2 line4 File3 line1 File3 line2 File3 line3 File3 line4 . . . File7 line1 File7 line2 File7 line3 File7 line4

I have tried the paste command but that gives me the following: File1 line1 File2 line1 File3 line1 . . File7 line1

It does not take four lines from each file as I need.

Any help would be appreciated. Thanks