Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • newfie
    Junior Member
    • Feb 2016
    • 8

    #1

    Problem with mirdeep2

    I have a problem with mapper.pl when i input my fasta file containing the reads.

    here is the command and the error that i get:

    mapper.pl N1_S1.fa -c -p ~/Desktop/bowtiebuild/cod_index -m -s /home/Desktop/cod/collapsed_reads/N1_S1_collapsed.fa -t ~/Desktop/cod/arf_files/N1_S1.arf

    First line of FASTA reads file is not in accordance with the fasta format specifications
    Please make sure your file is in accordance with the fasta format specifications and does not contain whitespace in IDs or sequences


    ***** Please check if the option you used (options c) designates the correct format of the supplied reads file N1_S1.fa *****

    Here are the first few lines of my FASTA file:

    >@NS500451:29:H3T2FBGXX:1:11101:15273:1059 1:N:0:ATCACG
    GNGCTACTGGTGAAAT
    >@NS500451:29:H3T2FBGXX:1:11101:21477:1064 1:N:0:ATCACG
    ANTGGATAGCGCATTGGTA
    >@NS500451:29:H3T2FBGXX:1:11101:23355:1065 1:N:0:ATCACG
    GNTGTCGTGGCCGAGTGGTTAAGGAAATA

    The command that i sued to convert fastq to fasta file is

    awk 'NR % 4 == 1 {print ">" $0 } NR % 4 == 2 {print $0}' ~/Desktop/N1_S1_trimmed.fastq > ~/Desktop/N1_S1.fa

    Important note: I had this problem when i was using mirdeep2 mapper.pl script in the linux server. But in my own linux machine the mapper.pl generated the collapsed reads and the arf files without any error code. So if there are whitespaces in the identifiers, how come the script doesn't generate any errors when i run in my own linux machine but not in the server?

    Do anyone know how to fix this problem?
  • JerryZhang
    Junior Member
    • Feb 2021
    • 2

    #2
    hi, did you solved your problem?

    hi, did you solved your problem?
    I've tried several ways to fix this problem but it just doesn't work. i found a site which says that the foramt must be like :
    >PAN_123456_x969696
    ATACAATCTACTGTCTTTCCT
    (https://www.mdc-berlin.de/content/mi...n#File-formats)

    my original file is a fastq file and it's first line is like this:
    @A00183:416:HLJLJDSXX:4:1101:5267:1000 1:N:0:TGACCAAT+GTTCAGAG

    then i use python to convert it like this:
    >HUM_3110149961000_x1

    but it still doesn't work

    Comment

    • JerryZhang
      Junior Member
      • Feb 2021
      • 2

      #3
      i finally figured out how to map this:
      1. mapper.pl ./<filename>.fq -e -h -j -m -k<adapter sequence> -l 18 -s <collapsedata.fa> . Then you can get a collapse data.
      2. using collapse data to map your reads to the reference genome; or you can just 'quanlifier' it

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      20 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      38 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      44 views
      0 reactions
      Last Post SEQadmin2  
      Working...