We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87c5ccf commit 723e182Copy full SHA for 723e182
scripts/sam2fastq.py
@@ -50,7 +50,8 @@
50
if (args_single):
51
# Ioan: Removing the '/1' read specification before the first '\n' character
52
# possibly a source of formatting errors running Trinity with the --single flag
53
- f.write('@' + id + '\n' + myread + '\n' + '+\n' + qual + '\n')
+ # oe: putting this back in: Trinity 2.8.5 throws an error without it!
54
+ f.write('@' + id + '/1\n' + myread + '\n' + '+\n' + qual + '\n')
55
else:
56
# get the binary value of the flag and bitwise AND with 64 ( i.e, int('1000000',2) )
57
# and then shift 6 bits to look at the 7th bit, which tells us if mate 1 (refer to key).
0 commit comments