Skip to content

Commit

Permalink
Add --include-technical to fasterq-dump. Fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
s-andrews committed Mar 15, 2021
1 parent 2d279ec commit bf5ace3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions sradownloader
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import shutil
from ftplib import FTP


VERSION = "3.6"
VERSION = "3.7"

# These are the symbols we're going to need to remove
# from any proposed file names
Expand Down Expand Up @@ -144,7 +144,10 @@ def download_sample_ncbi (sample, options):
if not options.quiet:
print (f"[NCBI] Downloading {sample['accession']} into {sample['file_base']}", flush=True)

command_options = [options.fqdump,"--split-files","--threads",options.threads,"--outfile",sample["file_base"]+".fastq"]

# We add the --include-technical because 10X runs mark the essential barcode
# reads as technical and don't download them otherwise.
command_options = [options.fqdump,"--split-files","--include-technical","--threads",options.threads,"--outfile",sample["file_base"]+".fastq"]

# If they're attached to a terminal and they're not being quiet then we'll show progress

Expand Down

0 comments on commit bf5ace3

Please sign in to comment.