Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • JQL
    replied
    another nice way to do it.

    I really think something is going on with my server. It still finished after doing one file. I will ask my admin tomorrow. Will let you know.

    By any chance did this happen to any one of you here?

    Originally posted by Richard Finney View Post
    for i in $(ls *.gz); do sn=`echo $i | sed 's/\.gz$//'`; zcat $i > $sn; done;

    Leave a comment:


  • Richard Finney
    replied
    for i in $(ls *.gz); do sn=`echo $i | sed 's/\.gz$//'`; zcat $i > $sn; done;

    Leave a comment:


  • JQL
    replied
    thanks. I thought it might be related to something internal. will find out.

    Originally posted by azneto View Post
    I tested your version of the command and it worked fine. It could be something related to permissions.

    Leave a comment:


  • azneto
    replied
    I tested your version of the command and it worked fine. It could be something related to permissions.

    Leave a comment:


  • JQL
    replied
    I tried
    for i in `ls *.fastq.gz`; do gunzip -c $i > ${i%.gz}; done

    still only unzipped just first file then finished. no error. very strange.


    Originally posted by azneto View Post
    for i in `ls *.fastq.gz`; do gunzip -c $i > $i.fastq; done

    Leave a comment:


  • azneto
    replied
    for i in `ls *.fastq.gz`; do gunzip -c $i > $i.fastq; done

    Leave a comment:


  • JQL
    replied
    gunzip *.fastq.gz will delete original gz files. i want to keep original files.



    Originally posted by azneto View Post
    have you tried 'gunzip *.fastq.gz' ?

    Leave a comment:


  • azneto
    replied
    have you tried 'gunzip *.fastq.gz' ?

    Leave a comment:


  • JQL
    started a topic bash shell question

    bash shell question

    I tried to do a simple task in batch--unzipping many gz files. I have many .gz files, but how come it only unzipped one file then finished? Anything wrong with my script? thanks. John


    ## unzip fastq.gz
    for i in *.fastq.gz
    do
    #echo $i
    zcat "$i" > "${i%.*}"
    done

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
41 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-22-2026, 10:48 AM
0 responses
30 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-15-2026, 10:52 AM
0 responses
42 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 10-14-2026, 05:39 AM
0 responses
45 views
0 reactions
Last Post SEQadmin2  
Working...