Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • gringer
    replied
    The head command in Linux also alllows you to extract a number of lines from the start of the file (or use the tail command for the end of the file)
    FWIW, there's also the split command:

    Code:
    split -n 2 file.fa file.split.fa. # for splitting a file into two
    But bear in mind that raw reads from NGS runs frequently have low-quality reads near the start and end of the file, so you'll get a bit of quality bias from choosing a specific half of the file.
    Last edited by gringer; 11-11-2013, 08:33 PM.

    Leave a comment:


  • mbayer
    replied
    The head command in Linux also alllows you to extract a number of lines from the start of the file (or use the tail command for the end of the file), without splitting the whole file:

    In analogy to the above:

    $ wc -l file.fastq
    100 file.fastq

    $ head -n 50 file.fastq > halfAFile.fastq

    cheers

    Micha

    Leave a comment:


  • jgibbons1
    replied
    If you know how many lines are in your file you can use the split command

    $ wc -l file.fastq
    100 file.fastq

    $ split -l 50 file.fastq

    Leave a comment:


  • swbarnes2
    replied
    Use awk or grep or something to filter by the tile.

    Or use unix head to get the top half of the file.

    Leave a comment:


  • Patrick Dekker
    replied
    Hi,

    Open the sequencelist switch to table view (5th icon below the sequences). Select a number of sequences and press "create sequencelist".

    best
    Patrick

    Leave a comment:


  • gevielr
    started a topic easy way to assemble 50% of reads?

    easy way to assemble 50% of reads?

    Is there an easy way to separate a large fastq file of raw reads in half? I would imagine this should be pretty easy. I want to see how assembling half of my reads would do with some command... but I also have access to CLC and there doesn't seem to be a way to specify 50% of reads. This is a 70M+ 100 bp dataset.

Latest Articles

Collapse

  • SEQadmin2
    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
    by SEQadmin2




    NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
    Yesterday, 06:46 AM
  • 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

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
30 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-28-2026, 09:51 AM
0 responses
21 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 11:13 AM
0 responses
71 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
48 views
0 reactions
Last Post SEQadmin2  
Working...