Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • shangzhong0619
    Member
    • Nov 2013
    • 17

    Do illumina fastq file have barcode and adaptor?

    Hi all,
    I saw this thread http://seqanswers.com/forums/showthread.php?t=8176. It said that in illumina fastq file, there is no barcode. But when I see the manual of trimmomatic, why is there a function that can remove the adaptor and barcode?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    At times you may have adapter dimers in your reads (no insert or short inserts with adapters at ends of reads) that need to be removed/trimmed. Not sure where you are seeing the barcode removal function.

    Comment

    • shangzhong0619
      Member
      • Nov 2013
      • 17

      #3
      Originally posted by GenoMax View Post
      At times you may have adapter dimers in your reads (no insert or short inserts with adapters at ends of reads) that need to be removed/trimmed. Not sure where you are seeing the barcode removal function.
      thanks for your reply. Sorry, it is adapter removal function. Still have some questions.
      1. What does insert mean? index reads barcodes?
      2. My samples are already de-multiplexed and I didn't find the barcode sequence in my fastq file, so my reads are real reads, right?
      3. I run fastqc for my samples, and for the first 10 bases, the per base sequence does not parallel, it may be contaminated, at first I thought it was adapter or barcode, if my reads are real reads, what other factors may cause the contamination?

      Comment

      • Brian Bushnell
        Super Moderator
        • Jan 2014
        • 2709

        #4
        Originally posted by shangzhong0619 View Post
        thanks for your reply. Sorry, it is adapter removal function. Still have some questions.
        1. What does insert mean? index reads barcodes?
        2. My samples are already de-multiplexed and I didn't find the barcode sequence in my fastq file, so my reads are real reads, right?
        3. I run fastqc for my samples, and for the first 10 bases, the per base sequence does not parallel, it may be contaminated, at first I thought it was adapter or barcode, if my reads are real reads, what other factors may cause the contamination?
        1) Insert is the length of the molecule that was sequenced. If it was shorter than read length, adapters will show up.

        2) They may still contain adapter sequence. A run without a single read containing an adapter would be... unusual.

        3) Sounds like you have adapter sequence in the first part of your read. The main factors that could cause this otherwise are:
        a) Nonrandom fragment cleavage
        b) Some kind of short spike-in sequence or contaminant
        c) Miscalibration, if for example there is no PhiX spike-in.

        It may help if you post the base-frequency histogram or consensus of the abnormal bases.

        Comment

        • shangzhong0619
          Member
          • Nov 2013
          • 17

          #5
          Originally posted by Brian Bushnell View Post
          1) Insert is the length of the molecule that was sequenced. If it was shorter than read length, adapters will show up.

          2) They may still contain adapter sequence. A run without a single read containing an adapter would be... unusual.

          3) Sounds like you have adapter sequence in the first part of your read. The main factors that could cause this otherwise are:
          a) Nonrandom fragment cleavage
          b) Some kind of short spike-in sequence or contaminant
          c) Miscalibration, if for example there is no PhiX spike-in.

          It may help if you post the base-frequency histogram or consensus of the abnormal bases.
          Thank you very much Brian. I don't know how to paste the figure. I post in the attachment. Click image for larger version

Name:	per_base_sequence_content.png
Views:	1
Size:	25.4 KB
ID:	304520.
          According what you said, we should trim the adapters for each sample we analyze? But I only have fastq files, don't know how long adapter is. Is it enough to trim reads based on fastqc results?

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Based on the FastQC plot this is probably RNA-seq data. It is common to have this pattern at the beginning of the reads and does not indicate any problem. This seems to be due to the 'random' primers which are used in the library generation, which may not be quite as random as one would hope. There are multiple threads on SeqAnswers that discuss this phenomenon.

            See this thread for options on programs to do adapter trimming: http://seqanswers.com/forums/showthread.php?t=40692
            Last edited by GenoMax; 04-06-2014, 01:54 PM.

            Comment

            • Baseless
              Member
              • Feb 2010
              • 31

              #7
              By the way, there actually is a barcode in the ILMN fastq, but its in the header line (note the GCNACT in the read), NOT in the sequence, unless something is special or wrong with the library:

              @HWI-STXXX:XXX:XXXXXXCXX:8:1101:1214:2233 1:N:0:GCNACT
              GCTCTCTGTTTACTCTCTTAATTTTTAAAGAGTTTGTAGTGTTTTATCTTATCTACACAGTGTTGACGTAAGCTTTCGAGATGTCGGATAAGGANNNNNNN
              +
              ?@=+BDD>,==ADAFEEFDHE<FFHIF9D9CB?C991**:?:CDG9D?F>0???4?*?B##########################################

              So if you ever encounter your users cheating on you with multiplexing - you can easily show them which barcodes they really used by taking a look on the undetermined reads:
              zcat lane?_Undetermined_L00?_R1_001.fastq.gz | grep @HWI |cut -d: -f10 | grep -v "N" | sort | uniq -c | sort -r -n -k1

              Comment

              • xuenjun1
                Junior Member
                • Aug 2014
                • 9

                #8
                Adaptor question again. Thanks

                Hi, I'm using a JAVA based program. here attached is the interface. Could anyone tell me if I should fill CAGATC as the adapter or not. Thanks a lot!
                Attached Files

                Comment

                • Brian Bushnell
                  Super Moderator
                  • Jan 2014
                  • 2709

                  #9
                  No, that's just the barcode, and is too short for using to trim. Adapter sequences are normally over 30bp and may contain a barcode.

                  Comment

                  • xuenjun1
                    Junior Member
                    • Aug 2014
                    • 9

                    #10
                    Originally posted by Brian Bushnell View Post
                    No, that's just the barcode, and is too short for using to trim. Adapter sequences are normally over 30bp and may contain a barcode.
                    Thanks a lot! One more question, could u tell me if my data looks like this. Do I still need to trim the adaptor? I'm very new in this field. Is the first 13~15bp random primer? or something else?
                    Attached Files

                    Comment

                    • Brian Bushnell
                      Super Moderator
                      • Jan 2014
                      • 2709

                      #11
                      The wiggles at the beginning are probably due to nonrandom fragmentation, but if you have a reference or assembly, I encourage you to map the reads and plot the error rate as a function of position. You can do this with BBMap using the "mhist" option:

                      (this command is for Linux; on Windows it would be different)
                      bbmap.sh in=reads.fq ref=reference.fa mhist=mhist.txt nodisk

                      If the histogram does not show a higher than expected error rate at the beginning of the read, there's no reason to trim. As for adapters, those are on the right end of the read and more common with longer reads. The graph you posted does not show evidence of adapter contamination, but it wouldn't necessarily be noticeable on that graph, anyway; if you know the adapter sequences it wouldn't hurt to trim them. If not, don't worry about it. Though if you have the insert size distribution, it would help to post it. Were these paired or single-ended reads?

                      Comment

                      • GenoMax
                        Senior Member
                        • Feb 2008
                        • 7142

                        #12
                        Originally posted by xuenjun1 View Post
                        Thanks a lot! One more question, could u tell me if my data looks like this. Do I still need to trim the adaptor? I'm very new in this field. Is the first 13~15bp random primer? or something else?

                        Discussion of next-gen sequencing related bioinformatics: resources, algorithms, open source efforts, etc

                        Comment

                        • xuenjun1
                          Junior Member
                          • Aug 2014
                          • 9

                          #13
                          Originally posted by Brian Bushnell View Post
                          The wiggles at the beginning are probably due to nonrandom fragmentation, but if you have a reference or assembly, I encourage you to map the reads and plot the error rate as a function of position. You can do this with BBMap using the "mhist" option:

                          (this command is for Linux; on Windows it would be different)
                          bbmap.sh in=reads.fq ref=reference.fa mhist=mhist.txt nodisk

                          If the histogram does not show a higher than expected error rate at the beginning of the read, there's no reason to trim. As for adapters, those are on the right end of the read and more common with longer reads. The graph you posted does not show evidence of adapter contamination, but it wouldn't necessarily be noticeable on that graph, anyway; if you know the adapter sequences it wouldn't hurt to trim them. If not, don't worry about it. Though if you have the insert size distribution, it would help to post it. Were these paired or single-ended reads?
                          Thanks a lot! It is single end, and I just want to align to arabidopsis. I have just got the non-trimmed result, looks ok.

                          Comment

                          • xuenjun1
                            Junior Member
                            • Aug 2014
                            • 9

                            #14
                            Thanks. I have read a few posts, but still not clear. But now I understand.

                            Comment

                            • IshSeq
                              Junior Member
                              • Jul 2014
                              • 4

                              #15
                              Following applies to MiSeq only (I do not know about the other platforms, please check)

                              The fastq files from the MiSeq do not contain the barcodes after demultiplexing by default. Actually you dont need this information for further analysis once the demultipelxing is done.
                              Having said that, if you really need these sequences for some reason you can force the system to provide you with that information by changing the MiSeqReportor.exe.config file in C:\Illumina\MiSeq Reporter.

                              Just add this tag to the appsettings

                              <add key="CreateFastqForIndexReads" value="1" />

                              and restart the service, and requeue you run for analysis.

                              Hope this helps with your issue.

                              Comment

                              Latest Articles

                              Collapse

                              • mylaser
                                Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by mylaser
                                Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                                If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                                This guide explains everything you need to know about...
                                Today, 01:13 AM
                              • SEQadmin2
                                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by SEQadmin2



                                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                                ...
                                07-09-2026, 11:10 AM
                              • SEQadmin2
                                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                                by SEQadmin2



                                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                                07-08-2026, 05:17 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 07-09-2026, 10:04 AM
                              0 responses
                              15 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-08-2026, 10:08 AM
                              0 responses
                              10 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-07-2026, 11:05 AM
                              0 responses
                              22 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...