-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Geert van Geest
committed
Mar 13, 2023
1 parent
3288ec8
commit d380e2c
Showing
5 changed files
with
63 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
for BC in bc2001 bc2002 bc2004 bc2007 bc2011 bc2019 bc2022 bc2015 | ||
do | ||
wget -O "$BC".bam https://downloads.pacbcloud.com/public/dataset/2021-11-Microbial-96plex/demultiplexed-reads/m64004_210929_143746."${BC}".bam | ||
samtools fastq -0 "$BC".fastq "$BC".bam | ||
gzip "$BC".fastq | ||
done | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
bc2001,sample_6 | ||
bc2002,sample_7 | ||
bc2004,sample_3 | ||
bc2007,sample_1 | ||
bc2011,sample_5 | ||
bc2019,sample_2 | ||
bc2022,sample_8 | ||
bc2015,sample_4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
sed 's/,/ /g' lookup_bc_organism.csv | while read BC NAME | ||
do | ||
mv "$BC".fastq.gz "$NAME.fastq.gz" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters