You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...in both the _1.fastq.gz file and the _2.fastq.gz file. Each read is assigned with two copies of a serial number. The pairing information isn't provided anywhere. Some common conventions for pairing metadata are as follows.
@ACCESSION/1 OtherMetaData and @ACCESSION/2 OtherMetadata for left and right reads, respectively
@ACCESSION 1:OtherMetadata and @ACCESSION 2:OtherMetadata
@ACCESSION OtherMetadata/1 and @ACCESSION OtherMetadata/2
Having some way to distinguish left and right reads is important for quality control, especially once reads are interleaved
The text was updated successfully, but these errors were encountered:
Try the --defline-seq option. It's not documented (at all) on the NCBI fastq-dump page, but it is in the help. $ri is the variable you want for /1 and /2
fastq-dump --help | grep -A 13 defline-seq
--defline-seq <fmt> Defline format specification for sequence.
--defline-qual <fmt> Defline format specification for quality.
<fmt> is string of characters and/or
variables. The variables can be one of: $ac
- accession, $si spot id, $sn spot
name, $sg spot group (barcode), $sl spot
length in bases, $ri read number, $rn
read name, $rl read length in bases. '[]'
could be used for an optional output: if
all vars in [] yield empty values whole
group is not printed. Empty value is empty
string or for numeric variables. Ex:
@$sn[_$rn]/$ri '_$rn' is omitted if name
is empty
When I run
fastq-dump --split-files --gzip --A SRR3938279
I get FASTQ headers like this......in both the
_1.fastq.gz
file and the_2.fastq.gz
file. Each read is assigned with two copies of a serial number. The pairing information isn't provided anywhere. Some common conventions for pairing metadata are as follows.@ACCESSION/1 OtherMetaData
and@ACCESSION/2 OtherMetadata
for left and right reads, respectively@ACCESSION 1:OtherMetadata
and@ACCESSION 2:OtherMetadata
@ACCESSION OtherMetadata/1
and@ACCESSION OtherMetadata/2
Having some way to distinguish left and right reads is important for quality control, especially once reads are interleaved
The text was updated successfully, but these errors were encountered: