Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • 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

  • seqadmin
    The Impact of AI in Genomic Medicine
    by seqadmin



    Artificial intelligence (AI) has evolved from a futuristic vision to a mainstream technology, highlighted by the introduction of tools like OpenAI's ChatGPT and Google's Gemini. In recent years, AI has become increasingly integrated into the field of genomics. This integration has enabled new scientific discoveries while simultaneously raising important ethical questions1. Interviews with two researchers at the center of this intersection provide insightful perspectives into...
    02-26-2024, 02:07 PM
  • seqadmin
    Multiomics Techniques Advancing Disease Research
    by seqadmin


    New and advanced multiomics tools and technologies have opened new avenues of research and markedly enhanced various disciplines such as disease research and precision medicine1. The practice of merging diverse data from various ‘omes increasingly provides a more holistic understanding of biological systems. As Maddison Masaeli, Co-Founder and CEO at Deepcell, aptly noted, “You can't explain biology in its complex form with one modality.”

    A major leap in the field has
    ...
    02-08-2024, 06:33 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 02-28-2024, 06:12 AM
0 responses
27 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-23-2024, 04:11 PM
0 responses
74 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-21-2024, 08:52 AM
0 responses
81 views
0 likes
Last Post seqadmin  
Started by seqadmin, 02-20-2024, 08:57 AM
0 responses
69 views
0 likes
Last Post seqadmin  
Working...
X