ndierckx / NOVOPlasty

NOVOPlasty - The organelle assembler and heteroplasmy caller
Other
174 stars 63 forks source link

Running NOVOPlasty and Receiving a Platform Error #170

Closed occasional-it-guy closed 3 years ago

occasional-it-guy commented 3 years ago

I've been running NOVOplasty on my local machine and I'm receiving the following Platform has to be 'illumina' or 'ion', please check the configuration file! I've looked through the documentation for the config file and everything is in order as it should. Bellow is the config file I'm working with.

`Project:

Project name = Index_2 Type = chloro Genome Range = 12000-22000 K-mer = 33 Max memory = Extended log = 0 Save assembled reads = no Seed Input = Downloads/A_validum_howellii_AC02-04-Large_Single_Copy.fasta Extend seed directly = no Reference sequence = Variance detection = Chloroplast sequence =

Dataset 1:

Read Length = 151 Insert size = 300 Platform = illumina Single/Paired = PE Combined reads = Forward reads = Downloads/Aphyllon_sequences/PE150_2016_04_05/Index_2_S28_L005_R1_001.fastq.gz Reverse reads = Downloads/Aphyllon_sequences/PE150_2016_04_05/Index_2_S28_L005_R2_001.fastq.gz

Heteroplasmy:

MAF = HP exclude list = PCR-free =

Optional:

Insert size auto = yes Use Quality Scores = no Output Path = NOVOPlastyRuns

Project:

Project name = Choose a name for your project, it will be used for the output files. Type = (chloro/mito/mito_plant) "chloro" for chloroplast assembly, "mito" for mitochondrial assembly and "mito_plant" for mitochondrial assembly in plants. Genome Range = (minimum genome size-maximum genome size) The expected genome size range of the genome. Default value for mito: 12000-20000 / Default value for chloro: 120000-200000 If the expected size is know, you can lower the range, this can be useful when there is a repetitive region, what could lead to a premature circularization of the genome. K-mer = (integer) This is the length of the overlap between matching reads (Default: 33). If reads are shorter then 90 bp or you have low coverage data, this value should be decreased down to 23. For reads longer then 101 bp, this value can be increased, but this is not necessary. Max memory = You can choose a max memory usage, suitable to automatically subsample the data or when you have limited
memory capacity. If you have sufficient memory, leave it blank, else write your available memory in GB (if you have for example a 8 GB RAM laptop, put down 7 or 7.5 (don't add the unit in the config file)) Extended log = Prints out a very extensive log, could be useful to send me when there is a problem (0/1). Save assembled reads = All the reads used for the assembly will be stored in seperate files (yes/no) Seed Input = The path to the file that contains the seed sequence. Extend seed directly = This gives the option to extend the seed directly, in stead of finding matching reads. Only use this when your seed originates from the same sample and there are no possible mismatches (yes/no) Reference (optional) = If a reference is available, you can give here the path to the fasta file. The assembly will still be de novo, but references of the same genus can be used as a guide to resolve duplicated regions in the plant mitochondria or the inverted repeat in the chloroplast. References from different genus haven't beeen tested yet. Variance detection = If you select yes, you should also have a reference sequence (previous line). It will create a vcf file
with all the variances compared to the give reference (yes/no) Chloroplast sequence = The path to the file that contains the chloroplast sequence (Only for mito_plant mode). You have to assemble the chloroplast before you assemble the mitochondria of plants!

Dataset 1:

Read Length = The read length of your reads. Insert size = Total insert size of your paired end reads, it doesn't have to be accurate but should be close enough. Platform = illumina/ion - The performance on Ion Torrent data is significantly lower Single/Paired = For the moment only paired end reads are supported. Combined reads = The path to the file that contains the combined reads (forward and reverse in 1 file) Forward reads = The path to the file that contains the forward reads (not necessary when there is a merged file) Reverse reads = The path to the file that contains the reverse reads (not necessary when there is a merged file)

Heteroplasmy:

MAF = (0.007-0.49) Minor Allele Frequency: If you want to detect heteroplasmy, first assemble the genome without this option. Then give the resulting
sequence as a reference and as a seed input. And give the minimum minor allele frequency for this option (0.01 will detect heteroplasmy of >1%) HP exclude list = Option not yet available
PCR-free = (yes/no) If you have a PCR-free library write yes

Optional:

Insert size auto = (yes/no) This will finetune your insert size automatically (Default: yes)
Use Quality Scores = It will take in account the quality scores, only use this when reads have low quality, like with the
300 bp reads of Illumina (yes/no) `

ndierckx commented 3 years ago

Can you share your log file and are you running on a Windows?

occasional-it-guy commented 3 years ago

@ndierckx I'm running this on mac and I'm not receiving an output file.

ndierckx commented 3 years ago

Could you redownload the config file and try again In mac or Windows, some text editors modify the end of the text lines. Which text editor are you using?

occasional-it-guy commented 3 years ago

@ndierckx I tried redownloading it and reentered the data but received the following output: No input file found, make sure it are fastq files No such file or directory Here is the config file after I CD into the downloads directory where I'm currently storing all of my data: `Project:

Project name = Inedx_2_LargeSingleCopy Type = chloro Genome Range = 12000-22000 K-mer = 33 Max memory = Extended log = 0 Save assembled reads = no Seed Input = A_validum_howellii_AC02-04-LargeSingleCopy.fasta Extend seed directly = no Reference sequence = Variance detection = Chloroplast sequence =

Dataset 1:

Read Length = 151 Insert size = 300 Platform = illumina Single/Paired = PE Combined reads = Forward reads = Aphyllon_sequences/PE150_2016_04_05/Index_2_S28_L005_R1_001.fastq Reverse reads = Aphyllon_sequences/PE150_2016_04_05/Index_2_S28_L005_R2_001.fastq Store Hash =

Heteroplasmy:

MAF = HP exclude list = PCR-free =

Optional:

Insert size auto = yes Use Quality Scores = no Output path =

Project:

Project name = Choose a name for your project, it will be used for the output files. Type = (chloro/mito/mito_plant) "chloro" for chloroplast assembly, "mito" for mitochondrial assembly and "mito_plant" for mitochondrial assembly in plants. Genome Range = (minimum genome size-maximum genome size) The expected genome size range of the genome. Default value for mito: 12000-20000 / Default value for chloro: 120000-200000 If the expected size is know, you can lower the range, this can be useful when there is a repetitive region, what could lead to a premature circularization of the genome. K-mer = (integer) This is the length of the overlap between matching reads (Default: 33). If reads are shorter then 90 bp or you have low coverage data, this value should be decreased down to 23. For reads longer then 101 bp, this value can be increased, but this is not necessary. Max memory = You can choose a max memory usage, suitable to automatically subsample the data or when you have limited
memory capacity. If you have sufficient memory, leave it blank, else write your available memory in GB (if you have for example a 8 GB RAM laptop, put down 7 or 7.5 (don't add the unit in the config file)) Extended log = Prints out a very extensive log, could be useful to send me when there is a problem (0/1). Save assembled reads = All the reads used for the assembly will be stored in seperate files (yes/no) Seed Input = The path to the file that contains the seed sequence. Extend seed directly = This gives the option to extend the seed directly, in stead of finding matching reads. Only use this when your seed originates from the same sample and there are no possible mismatches (yes/no) Reference (optional) = If a reference is available, you can give here the path to the fasta file. The assembly will still be de novo, but references of the same genus can be used as a guide to resolve duplicated regions in the plant mitochondria or the inverted repeat in the chloroplast. References from different genus haven't beeen tested yet. Variance detection = If you select yes, you should also have a reference sequence (previous line). It will create a vcf file
with all the variances compared to the give reference (yes/no) Chloroplast sequence = The path to the file that contains the chloroplast sequence (Only for mito_plant mode). You have to assemble the chloroplast before you assemble the mitochondria of plants!

Dataset 1:

Read Length = The read length of your reads. Insert size = Total insert size of your paired end reads, it doesn't have to be accurate but should be close enough. Platform = illumina/ion - The performance on Ion Torrent data is significantly lower Single/Paired = For the moment only paired end reads are supported. Combined reads = The path to the file that contains the combined reads (forward and reverse in 1 file) Forward reads = The path to the file that contains the forward reads (not necessary when there is a merged file) Reverse reads = The path to the file that contains the reverse reads (not necessary when there is a merged file) Store Hash = If you want several runs on one dataset, you can store the hash locally to speed up the process (put "yes" to store the hashes locally) To run local saved files, goto te wiki section of the github page

Heteroplasmy:

MAF = (0.007-0.49) Minor Allele Frequency: If you want to detect heteroplasmy, first assemble the genome without this option. Then give the resulting
sequence as a reference and as a seed input. And give the minimum minor allele frequency for this option (0.01 will detect heteroplasmy of >1%) HP exclude list = Option not yet available
PCR-free = (yes/no) If you have a PCR-free library write yes

Optional:

Insert size auto = (yes/no) This will finetune your insert size automatically (Default: yes)
Use Quality Scores = It will take in account the quality scores, only use this when reads have low quality, like with the
300 bp reads of Illumina (yes/no) Output path = You can change the directory where all the output files wil be stored.`

occasional-it-guy commented 3 years ago

@ndierckx never mind I forgot the .gz extension. It's working now